summaryrefslogtreecommitdiff
path: root/modules/commands/os_forbid.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-12-27 17:15:07 -0500
committerAdam <Adam@anope.org>2013-12-27 17:15:07 -0500
commit072631aa3897300879f659fee5ccb924edfb3bf1 (patch)
tree622eb1cf87fcb611ef4ea3de306b7f9175b2eb2a /modules/commands/os_forbid.cpp
parentb638b653d2591048cc4265969764305b672f70f7 (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.cpp2
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)