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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user