diff options
| author | 2018-07-02 16:25:34 +0100 | |
|---|---|---|
| committer | 2018-07-02 16:25:34 +0100 | |
| commit | 29c55246b0d85ba44bffba44480bcd8a39b9cbcc (patch) | |
| tree | b7679383683ef7992463a74cfecf32d11cec2d9e /IRCLineHandler.py | |
| parent | Default IRCServer.mode_prefixes to @+(ov) (diff) | |
| signature | ||
Clear default mode prefixes when we get a 005 with mode prefixes in it
Diffstat (limited to 'IRCLineHandler.py')
| -rw-r--r-- | IRCLineHandler.py | 1 |
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): |
