summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d803c24)
Log message:
* Add 'PREFIX' to ISUPPORT line - shamelessly stolen from unreal ircd.
(Whistles innocently)
* My take on the /part bug fix. It'll either work, or core the server -
either way, it's got to be an improvement on the current scheme. Ode for
GC.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@225
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2000-05-01 Perry Lorier <isomer@coders.net>
* ircd/m_invite.c: Fix for the rest of m_invite.c, and again.
2000-05-01 Perry Lorier <isomer@coders.net>
* ircd/m_invite.c: Fix for the rest of m_invite.c, and again.
+ * ircd/channels.c: My fix for the part problem. Untested, probably
+ won't work. Can't be much worse than the current problem.
+ it'll either work or core, take your pick.
+
2000-04-30 Perry Lorier <isomer@coders.net>
* config/config-sh.in: Fix for CONNEXIT
2000-04-30 Perry Lorier <isomer@coders.net>
* config/config-sh.in: Fix for CONNEXIT
#
# ChangeLog for ircu2.10.11
#
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.122 2000-04-30 12:41:49 isomer Exp $
+# $Id: ChangeLog,v 1.123 2000-05-01 11:23:56 isomer Exp $
#
# Insert new changes at beginning of the change list.
#
#
# Insert new changes at beginning of the change list.
#
" NICKLEN=%i" \
" TOPICLEN=%i" \
" KICKLEN=%i" \
" NICKLEN=%i" \
" TOPICLEN=%i" \
" KICKLEN=%i" \
+ " CHANTYPES=%s" \
+ " PREFIX=%s"
#define FEATURESVALUES MAXSILES,MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \
#define FEATURESVALUES MAXSILES,MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \
- NICKLEN,TOPICLEN,TOPICLEN,"+#&"
+ NICKLEN,TOPICLEN,TOPICLEN,"+#&","@+"
#endif /* INCLUDED_supported_h */
#endif /* INCLUDED_supported_h */
sendcmdto_one(jbuf->jb_source, CMD_PART, jbuf->jb_source,
(flags & CHFL_BANNED || !jbuf->jb_comment) ?
":%H" : "%H :%s", chan, jbuf->jb_comment);
sendcmdto_one(jbuf->jb_source, CMD_PART, jbuf->jb_source,
(flags & CHFL_BANNED || !jbuf->jb_comment) ?
":%H" : "%H :%s", chan, jbuf->jb_comment);
+ /* XXX: Shouldn't we send a PART here anyway? */
- /* Remove user from channel */
- remove_user_from_channel(jbuf->jb_source, chan);
} else {
/* Add user to channel */
add_user_to_channel(chan, jbuf->jb_source, flags);
} else {
/* Add user to channel */
add_user_to_channel(chan, jbuf->jb_source, flags);
build_string(chanlist, &chanlist_i,
jbuf->jb_channels[i] ? jbuf->jb_channels[i]->chname : "0", 0,
i == 0 ? '\0' : ',');
build_string(chanlist, &chanlist_i,
jbuf->jb_channels[i] ? jbuf->jb_channels[i]->chname : "0", 0,
i == 0 ? '\0' : ',');
+ if (JOINBUF_TYPE_PART == jbuf->jb_type)
+ /* Remove user from channel */
+ remove_user_from_channel(jbuf->jb_source, jbuf->jb_channels[i]);
jbuf->jb_channels[i] = 0; /* mark slot empty */
}
jbuf->jb_channels[i] = 0; /* mark slot empty */
}
else {
char lag[512];
if (server->serv->lag>10000)
else {
char lag[512];
if (server->serv->lag>10000)
else if (server->serv->lag<0)
strcpy(lag,"(0s)");
else
else if (server->serv->lag<0)
strcpy(lag,"(0s)");
else