ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/ircd.c
(Generate patch)

Comparing ircd-hybrid-8/src/ircd.c (file contents):
Revision 1176 by michael, Sun Aug 14 11:24:24 2011 UTC vs.
Revision 1241 by michael, Thu Sep 29 20:26:09 2011 UTC

# Line 63 | Line 63
63   #include "supported.h"
64   #include "watch.h"
65  
66 /* Try and find the correct name to use with getrlimit() for setting the max.
67 * number of files allowed to be open by this process.
68 */
66  
67   /* /quote set variables */
68   struct SetOptions GlobalSetOptions;
# Line 333 | Line 330 | initialize_server_capabs(void)
330    add_capability("TS6", CAP_TS6, 0);
331    add_capability("ZIP", CAP_ZIP, 0);
332    add_capability("CLUSTER", CAP_CLUSTER, 1);
333 +  add_capability("SVS", CAP_SVS, 1);
334   #ifdef HALFOPS
335    add_capability("HOPS", CAP_HOPS, 1);
336   #endif
# Line 603 | Line 601 | main(int argc, char *argv[])
601  
602    strlcpy(me.info, ServerInfo.description, sizeof(me.info));
603  
604 <  me.from     = &me;
605 <  me.servptr  = &me;
606 <  me.lasttime = me.since = me.firsttime = CurrentTime;
604 >  me.from                   = &me;
605 >  me.servptr                = &me;
606 >  me.localClient->lasttime  = CurrentTime;
607 >  me.localClient->since     = CurrentTime;
608 >  me.localClient->firsttime = CurrentTime;
609  
610    SetMe(&me);
611    make_server(&me);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)