mirror of
https://github.com/anope/anope.git
synced 2026-07-03 22:43:13 +02:00
Add a log message for when we receive a weirdly targeted message.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user