1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 13:53:14 +02:00

Fix forbid add message to show the correct type

This commit is contained in:
Adam
2013-12-27 17:15:07 -05:00
parent b638b653d2
commit 072631aa38
+1 -1
View File
@@ -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)