Only handle 324 when we're actually in the channel
This commit is contained in:
parent
009daaeb62
commit
dc17ef7bb9
1 changed files with 6 additions and 5 deletions
|
@ -113,6 +113,7 @@ def part(events, event):
|
||||||
server=event["server"])
|
server=event["server"])
|
||||||
|
|
||||||
def handle_324(event):
|
def handle_324(event):
|
||||||
|
if event["args"][1] in event["server"].channels:
|
||||||
channel = event["server"].channels.get(event["args"][1])
|
channel = event["server"].channels.get(event["args"][1])
|
||||||
modes = event["args"][2]
|
modes = event["args"][2]
|
||||||
for mode in modes[1:]:
|
for mode in modes[1:]:
|
||||||
|
|
Loading…
Reference in a new issue