Clear default mode prefixes when we get a 005 with mode prefixes in it
This commit is contained in:
parent
fe89164077
commit
29c55246b0
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue