1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 01:43:12 +02:00

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.
This commit is contained in:
Robby-
2013-10-04 05:45:28 +02:00
committed by Adam
parent e5b8435769
commit 97d7c21193
12 changed files with 40 additions and 33 deletions
+2 -2
View File
@@ -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());
}