aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index 296dd60e..efaa5cfd 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -82,6 +82,7 @@ def handle_005(data):
server.send("PROTOCTL NAMESX")
match = re.search(RE_PREFIXES, isupport_line)
if match:
+ server.mode_prefixes.clear()
modes = match.group(1)
prefixes = match.group(2)
for i, prefix in enumerate(prefixes):