summaryrefslogtreecommitdiff
path: root/modules/commands/os_ignore.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-10-04 05:45:28 +0200
committerAdam <Adam@anope.org>2013-10-05 00:33:03 -0400
commit97d7c21193c490f647ee059dd28d4a37a684cbb1 (patch)
tree7ec955a2a18d266d79739388511d8a053715340c /modules/commands/os_ignore.cpp
parente5b8435769f9c5aa5326a60811cfae6fda2f5807 (diff)
Fix logging for log type 'other'.
os_ignore: Log expired ignores to the normal log level. cs_drop: Allow Services Operators to actually drop channels in Read-Only mode. os_akill, os_sxline, cs_akick: Log deletions by number.
Diffstat (limited to 'modules/commands/os_ignore.cpp')
-rw-r--r--modules/commands/os_ignore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp
index a8564a246..07d05bd36 100644
--- a/modules/commands/os_ignore.cpp
+++ b/modules/commands/os_ignore.cpp
@@ -105,7 +105,7 @@ class OSIgnoreService : public IgnoreService
if (id.time && id.time <= Anope::CurTime)
{
- Log(LOG_DEBUG) << "Expiring ignore entry " << id.mask;
+ Log(LOG_NORMAL, "expire/ignore", Config->GetClient("OperServ")) << "Expiring ignore entry " << id.mask;
this->ignores.erase(ign);
}
else
@@ -212,7 +212,7 @@ class CommandOSIgnore : public Command
if (id.time && id.time <= Anope::CurTime)
{
- Log(LOG_DEBUG) << "Expiring ignore entry " << id.mask;
+ Log(LOG_NORMAL, "expire/ignore", Config->GetClient("OperServ")) << "Expiring ignore entry " << id.mask;
ignores.erase(it);
}
}