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/os_forbid.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/os_forbid.cpp')
-rw-r--r-- | modules/commands/os_forbid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp index 88190ec8d..9dae12ab6 100644 --- a/modules/commands/os_forbid.cpp +++ b/modules/commands/os_forbid.cpp @@ -73,7 +73,7 @@ class MyForbidService : public ForbidService else if (d->type == FT_EMAIL) ftype = "email"; - Log(LOG_NORMAL, "expire/forbid") << "Expiring forbid for " << d->mask << " type " << ftype; + Log(LOG_NORMAL, "expire/forbid", Config->GetClient("OperServ")) << "Expiring forbid for " << d->mask << " type " << ftype; this->forbids(j).erase(this->forbids(j).begin() + i - 1); delete d; } @@ -174,7 +174,7 @@ class CommandOSForbid : public Command source.Reply(READ_ONLY_MODE); Log(LOG_ADMIN, source, this) << "to add a forbid on " << entry << " of type " << subcommand; - source.Reply(_("Added a forbid on %s to expire on %s."), entry.c_str(), d->expires ? Anope::strftime(d->expires, source.GetAccount()).c_str() : "never"); + source.Reply(_("Added a forbid on %s of type %s to expire on %s."), entry.c_str(), type.c_str(), d->expires ? Anope::strftime(d->expires, source.GetAccount()).c_str() : "never"); /* apply forbid */ switch (ftype) |