diff options
| author | 2018-09-17 13:09:22 +0100 | |
|---|---|---|
| committer | 2018-09-17 13:09:22 +0100 | |
| commit | 9bb81253cbe2d4e5c8e66e99c1cf13784afeb6cb (patch) | |
| tree | 9c7e5eff44037394c5232adcac7a4cbd26b3132d /IRCLineHandler.py | |
| parent | Handle 904 (ERR_SASLFAIL) in sasl.py (diff) | |
| signature | ||
In handling raw.part, remove_channel after calling self.part instead of before
Diffstat (limited to 'IRCLineHandler.py')
| -rw-r--r-- | IRCLineHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py index 25cf38b3..996c837f 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -268,9 +268,9 @@ class LineHandler(object): if not len(user.channels): event["server"].remove_user(user) else: - event["server"].remove_channel(channel) self.events.on("self.part").call(channel=channel, reason=reason, server=event["server"]) + event["server"].remove_channel(channel) # unknown command sent by us, oops! def handle_421(self, event): |
