summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/botserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients/botserv.cpp')
-rw-r--r--modules/pseudoclients/botserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/botserv.cpp b/modules/pseudoclients/botserv.cpp
index fd7f0380e..2c506876a 100644
--- a/modules/pseudoclients/botserv.cpp
+++ b/modules/pseudoclients/botserv.cpp
@@ -159,7 +159,7 @@ class BotServCore : public Module
void OnJoinChannel(User *user, Channel *c) anope_override
{
- if (c->ci && c->ci->bi)
+ if (user->server != Me && c->ci && c->ci->bi)
{
/**
* We let the bot join even if it was an ignored user, as if we don't,