1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 09:43:13 +02:00

Bug #1251 - Fixed logging inspircd logging us logging inspircd. Also moved the Server::Find messages to debug level 2

This commit is contained in:
Adam
2011-03-10 19:20:58 -05:00
parent 09a5791bc6
commit 97c2e0957d
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -289,6 +289,15 @@ class InspircdIRCdMessage : public IRCdMessage
return true;
}
bool OnPrivmsg(const Anope::string &source, const std::vector<Anope::string> &params)
{
/* Ignore privmsgs from the server, which can happen. */
if (Server::Find(source) != NULL)
return true;
return IRCdMessage::OnPrivmsg(source, params);
}
/*
* [Nov 04 00:08:46.308435 2009] debug: Received: SERVER irc.inspircd.com pass 0 964 :Testnet Central!
* 0: name