From 072631aa3897300879f659fee5ccb924edfb3bf1 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 27 Dec 2013 17:15:07 -0500 Subject: [PATCH] Fix forbid add message to show the correct type --- modules/commands/os_forbid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)