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

Commit 92a0654

Browse files
committed
protocol/charybdis: fix error message on part
1 parent bd86ffa commit 92a0654

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/protocol/charybdis.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,12 @@ def handlePART(cod, line):
200200
"""
201201
channel = cod.channels[line.args[0]]
202202

203-
channel.del_member(cod.clients[line.source])
203+
try:
204+
channel.del_member(cod.clients[line.source])
204205

205-
cod.pop_empty_channels()
206+
cod.pop_empty_channels()
207+
except:
208+
pass
206209

207210
cod.runHooks("part", [cod.clients[line.source], channel])
208211

0 commit comments

Comments
 (0)