diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/messages.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index b1c3c074d..726e0f953 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -334,7 +334,10 @@ void Privmsg::Run(MessageSource &source, const std::vector<Anope::string> ¶m botname = botname.substr(0, s); nick_only = true; if (!servername.equals_ci(Me->GetName())) + { + Log(LOG_DEBUG) << "Received a " << name << " message for " << servername << " which is not " << Me->GetName() << ", ignoring."; return; + } } BotInfo *bi = BotInfo::Find(botname, nick_only); |