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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user