mirror of
https://github.com/anope/anope.git
synced 2026-07-03 21:43:13 +02:00
Bug #1275 - Don't log absolutely everything sent to operserv, most of its commands already have their own logs
This commit is contained in:
@@ -35,7 +35,6 @@ class CommandOSHelp : public Command
|
||||
for (CommandMap::const_iterator it = operserv->Bot()->Commands.begin(), it_end = operserv->Bot()->Commands.end(); it != it_end; ++it)
|
||||
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || u->HasCommand(it->second->permission))
|
||||
it->second->OnServHelp(source);
|
||||
source.Reply(_("\002Notice:\002 All commands sent to %s are logged!"), Config->s_OperServ.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ class OperServBotInfo : public BotInfo
|
||||
}
|
||||
else
|
||||
{
|
||||
Log(OperServ) << u->nick << ": " << message;
|
||||
BotInfo::OnMessage(u, message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user