[srvx-commits] CVS: services/src proto-p10.c,1.77,1.78
Brought to you by:
entrope
From: Entrope <en...@us...> - 2003-09-26 15:31:54
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv4624/src Modified Files: proto-p10.c Log Message: formatting changes to make profiling more accurate remove "account" argument from AddUser; instead, merge argv[6]..argv[argc-4] into the modes string (yes, this is a kludge, but it fixes parse errors with asuka) add 404 (ERR_CANNOTSENDTOCHAN) dummy handler Index: proto-p10.c =================================================================== RCS file: /cvsroot/srvx/services/src/proto-p10.c,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -r1.77 -r1.78 *** proto-p10.c 5 Sep 2003 13:42:39 -0000 1.77 --- proto-p10.c 26 Sep 2003 15:31:50 -0000 1.78 *************** *** 288,292 **** static struct dict *unbursted_channels; ! static struct userNode *AddUser(struct server* uplink, const char *nick, const char *ident, const char *hostname, const char *modes, const char *account, const char *numeric, const char *userinfo, time_t timestamp, const char *realip); /* Numerics can be XYY, XYYY, or XXYYY; with X's identifying the --- 288,292 ---- static struct dict *unbursted_channels; ! static struct userNode *AddUser(struct server* uplink, const char *nick, const char *ident, const char *hostname, const char *modes, const char *numeric, const char *userinfo, time_t timestamp, const char *realip); [...1792 lines suppressed...] ! } /* build dict of unbursted channel names (just copy existing channels) */ unbursted_channels = dict_new(); ! for (it = dict_first(channels); it; it = iter_next(it)) { dict_insert(unbursted_channels, iter_key(it), iter_data(it)); - } } --- 2378,2388 ---- /* burst local nicks */ ! for (i=0; i<=self->num_mask; i++) ! if (self->users[i]) ! irc_user(self->users[i]); /* build dict of unbursted channel names (just copy existing channels) */ unbursted_channels = dict_new(); ! for (it = dict_first(channels); it; it = iter_next(it)) dict_insert(unbursted_channels, iter_key(it), iter_data(it)); } |