This commit is contained in:
Elián Hanisch 2012-11-09 20:06:07 -03:00
parent f9940e8988
commit 432bd6880d

View File

@ -1692,7 +1692,8 @@ class Bantracker(callbacks.Plugin):
def duration(self, irc, msg, args, ids, duration):
"""[<id>[,<id> ...]] [<duration>]
Sets the duration of a ban. If <duration> isn't given show when a ban expires. f no <id> is given shows the ids of bans set to expire.
Sets the duration of a ban. If <duration> isn't given show when a ban expires. If no <id> is
given shows the ids of bans set to expire.
"""
if ids is None:
count = len(self.managedBans)