From b14f5ea884e17500d5a08e3ca18957a8fb2a79f6 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 26 Oct 2011 16:52:00 -0400 Subject: Fixed accidentally clearing botmodes when joins are sent --- modules/protocol/ratbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/protocol/ratbox.cpp') 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 -- cgit