aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-30 11:15:01 +0100
committerGravatar jesopo2018-08-30 11:15:18 +0100
commitb216ed081bc59b1e695508bb7a61ecdd83f01b66 (patch)
tree607675fac1540d066fe066a24d694efa36d49a3e /IRCLineHandler.py
parentOnly get highlight-spam-threshold setting when there's more than one highlight (diff)
signature
Add missing ":" in IRCLineHandler.LineHandler.mode()
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index 138af67b..4ed9cb3b 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -309,7 +309,7 @@ class LineHandler(object):
modes = RE_MODES.findall(event["arbitrary"] or args[1])
for chunk in modes:
remove = chunk[0] == "-"
- for mode in chunk[1:]
+ for mode in chunk[1:]:
event["server"].change_own_mode(remove, mode)
self.bot.events.on("self").on("mode").call(modes=modes,
server=event["server"])