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:
@@ -289,6 +289,15 @@ class InspircdIRCdMessage : public IRCdMessage
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnPrivmsg(const Anope::string &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
/* 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
|
||||
|
||||
Reference in New Issue
Block a user