1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 07:26:38 +02:00

Fixed accidentally clearing botmodes when joins are sent

This commit is contained in:
Adam
2011-10-26 16:52:00 -04:00
parent bf66336e2c
commit b14f5ea884
7 changed files with 42 additions and 12 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class RatboxProto : public IRCDProto
send_cmd(Config->Numeric, "UNRESV * %s", x->Mask.c_str());
}
void SendJoin(User *user, Channel *c, ChannelStatus *status)
void SendJoin(User *user, Channel *c, const ChannelStatus *status)
{
/* Note that we must send our modes with the SJOIN and
* can not add them to the mode stacker because ratbox