diff options
author | Robby- <robby@chat.be> | 2013-09-24 06:04:59 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 19:11:02 -0400 |
commit | 12a0311aaa783385bba3194e92ed0eb4665621ed (patch) | |
tree | 11ed0b90d0a6454a7d87cbdee137c7438ab21064 /modules/commands/os_ignore.cpp | |
parent | cf653fc08429054e5451482166622fc8db8fec1f (diff) |
Add missing columns to os_forbid. Make most lists with dates use the shorter output format.
Diffstat (limited to 'modules/commands/os_ignore.cpp')
-rw-r--r-- | modules/commands/os_ignore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp index 4b549d2ed..22d426fda 100644 --- a/modules/commands/os_ignore.cpp +++ b/modules/commands/os_ignore.cpp @@ -218,7 +218,7 @@ class CommandOSIgnore : public Command entry["Mask"] = ignore.mask; entry["Creator"] = ignore.creator; entry["Reason"] = ignore.reason; - entry["Expires"] = Anope::strftime(ignore.time, source.GetAccount()); + entry["Expires"] = Anope::Expires(ignore.time, source.GetAccount()); list.AddEntry(entry); } @@ -266,7 +266,7 @@ class CommandOSIgnore : public Command CommandOSIgnore(Module *creator) : Command(creator, "operserv/ignore", 1, 4) { this->SetDesc(_("Modify the Services ignore list")); - this->SetSyntax(_("ADD \037time\037 {\037nick\037|\037mask\037} [\037reason\037]")); + this->SetSyntax(_("ADD \037expiry\037 {\037nick\037|\037mask\037} [\037reason\037]")); this->SetSyntax(_("DEL {\037nick\037|\037mask\037}")); this->SetSyntax("LIST"); this->SetSyntax("CLEAR"); |