Ban formats aren't bools

This commit is contained in:
jesopo 2018-07-20 13:12:41 +01:00
parent 6213ba5f61
commit 270bfe58ed

View file

@ -45,8 +45,7 @@ class Module(object):
validate=Utils.bool_or_none)
bot.events.on("postboot").on("configure").on(
"channelset").call(setting="ban-format",
help="Set ban format ($n = nick, $u = username, $h = hostname)",
validate=Utils.bool_or_none)
help="Set ban format ($n = nick, $u = username, $h = hostname)")
def kick(self, event):
target = event["args_split"][0]