summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp3
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> &param
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);