Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit 5c41624

Browse files
committed
protocol/charybdis: ignore errors
1 parent daaedc6 commit 5c41624

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/protocol/charybdis.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ def handleQUIT(cod, line):
153153
client = cod.clients[line.source]
154154

155155
for chanuser in client.channels:
156-
chanuser.channel.del_member(chanuser.client)
156+
try:
157+
chanuser.channel.del_member(chanuser.client)
158+
except:
159+
pass
157160

158161
cod.pop_empty_channels()
159162

0 commit comments

Comments
 (0)