summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;