aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_op.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-07-20 13:12:41 +0100
committerGravatar jesopo2018-07-20 13:12:41 +0100
commit270bfe58ed14821ed642776b92f50c21d717fa3c (patch)
tree6bba8d631b88d6643540b140d9bf4ada7eb47fb9 /modules/channel_op.py
parentadded a way to prevent bitbot accepting invites (diff)
signature
Ban formats aren't bools
Diffstat (limited to 'modules/channel_op.py')
-rw-r--r--modules/channel_op.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index e26e360b..b2013627 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -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]