diff options
author | Adam <Adam@anope.org> | 2013-12-27 17:15:07 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-12-27 17:15:07 -0500 |
commit | 072631aa3897300879f659fee5ccb924edfb3bf1 (patch) | |
tree | 622eb1cf87fcb611ef4ea3de306b7f9175b2eb2a /modules/commands/os_forbid.cpp | |
parent | b638b653d2591048cc4265969764305b672f70f7 (diff) |
Fix forbid add message to show the correct type
Diffstat (limited to 'modules/commands/os_forbid.cpp')
-rw-r--r-- | modules/commands/os_forbid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp index df3bac6c5..6fe980be9 100644 --- a/modules/commands/os_forbid.cpp +++ b/modules/commands/os_forbid.cpp @@ -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 of type %s to expire on %s."), entry.c_str(), type.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(), subcommand.lower().c_str(), d->expires ? Anope::strftime(d->expires, source.GetAccount()).c_str() : "never"); /* apply forbid */ switch (ftype) |