summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-06-17 13:34:47 -0400
committerAdam <Adam@anope.org>2011-06-17 13:34:47 -0400
commit48e995ddf2cd30a05222a51e665c02b1e7ae567a (patch)
tree5975f4e195a2cf17b1bdae7c3e20db97f9aa9187
parentdf971befb2ec95d69b7bb5bce49f4105ee916c2a (diff)
Bug #1275 - Don't log absolutely everything sent to operserv, most of its commands already have their own logs
-rw-r--r--modules/core/os_help.cpp1
-rw-r--r--modules/core/os_main.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/modules/core/os_help.cpp b/modules/core/os_help.cpp
index 764443035..3bd047d72 100644
--- a/modules/core/os_help.cpp
+++ b/modules/core/os_help.cpp
@@ -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());
}
};
diff --git a/modules/core/os_main.cpp b/modules/core/os_main.cpp
index 9f340fe7b..1c8203e8d 100644
--- a/modules/core/os_main.cpp
+++ b/modules/core/os_main.cpp
@@ -33,7 +33,6 @@ class OperServBotInfo : public BotInfo
}
else
{
- Log(OperServ) << u->nick << ": " << message;
BotInfo::OnMessage(u, message);
}
}