diff options
author | Adam <Adam@anope.org> | 2011-10-26 16:52:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-10-26 16:52:00 -0400 |
commit | b14f5ea884e17500d5a08e3ca18957a8fb2a79f6 (patch) | |
tree | 77be632813b2c4d428cf40b907ac0eb542031a5f /modules/protocol/ratbox.cpp | |
parent | bf66336e2c7a34aa62f86681f2d20078b2be99a8 (diff) |
Fixed accidentally clearing botmodes when joins are sent
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index fb65b80b4..32acfc3e1 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -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 |