diff options
author | Robby- <robby@chat.be> | 2013-10-04 05:45:28 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-10-05 00:33:03 -0400 |
commit | 97d7c21193c490f647ee059dd28d4a37a684cbb1 (patch) | |
tree | 7ec955a2a18d266d79739388511d8a053715340c /modules/commands/ns_set.cpp | |
parent | e5b8435769f9c5aa5326a60811cfae6fda2f5807 (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/ns_set.cpp')
-rw-r--r-- | modules/commands/ns_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index ae7f10376..6bd6f23ee 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -1087,13 +1087,13 @@ class CommandNSSASetNoexpire : public Command if (param.equals_ci("ON")) { - Log(LOG_ADMIN, source, this) << "to enable noexpire " << na->nc->display; + Log(LOG_ADMIN, source, this) << "to enable noexpire for " << na->nc->display; na->Extend<bool>("NS_NO_EXPIRE"); source.Reply(_("Nick %s \002will not\002 expire."), na->nick.c_str()); } else if (param.equals_ci("OFF")) { - Log(LOG_ADMIN, source, this) << "to disable noexpire " << na->nc->display; + Log(LOG_ADMIN, source, this) << "to disable noexpire for " << na->nc->display; na->Shrink<bool>("NS_NO_EXPIRE"); source.Reply(_("Nick %s \002will\002 expire."), na->nick.c_str()); } |