1
0
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:
Sadie Powell
2025-04-05 07:11:11 +01:00
parent e4f88d44cd
commit ddd33e65b4
+3
View File
@@ -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);