summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-01-08 08:18:46 +0100
committerAdam <Adam@anope.org>2011-01-08 03:41:12 -0500
commit39d34f717466875d1f3c0b46c8e99bc9fd2c1532 (patch)
treee757d7b652c53b11fb09285b84a15d94d52519de
parentc7979d98fa074faa1f51dee8d59169a75158c3bd (diff)
fixed a small bug in the ratbox protocol module
(cherry picked from commit 2e7d08c10b12ff740e0a3cd2259b523007f4fdf6)
-rw-r--r--modules/protocol/ratbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp
index 9b5f02e46..8bcc4c0f1 100644
--- a/modules/protocol/ratbox.cpp
+++ b/modules/protocol/ratbox.cpp
@@ -247,7 +247,7 @@ class RatboxProto : public IRCDProto
void SendTopic(BotInfo *bi, Channel *c)
{
- bool needjoin = c->FindUser(bi) != NULL;
+ bool needjoin = c->FindUser(bi) == NULL;
if (needjoin)
{
ChannelStatus status;