diff options
Diffstat (limited to 'modules/commands/os_ignore.cpp')
| -rw-r--r-- | modules/commands/os_ignore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp index 4cdb26a74..3bd909c49 100644 --- a/modules/commands/os_ignore.cpp +++ b/modules/commands/os_ignore.cpp @@ -164,7 +164,7 @@ class CommandOSIgnore : public Command if (t <= -1) { - source.Reply(_("You have to enter a valid number as time.")); + source.Reply(BAD_EXPIRY_TIME); return; } @@ -176,8 +176,8 @@ class CommandOSIgnore : public Command } else { - source.Reply(_("\002%s\002 will now be ignored for \002%s\002."), nick.c_str(), time.c_str()); - Log(LOG_ADMIN, source, this) << "to add an ignore on " << nick << " for " << time; + source.Reply(_("\002%s\002 will now be ignored for \002%s\002."), nick.c_str(), Anope::Duration(t, source.GetAccount()).c_str()); + Log(LOG_ADMIN, source, this) << "to add an ignore on " << nick << " for " << Anope::Duration(t, source.GetAccount()); } } |
