only look at 329 when it's a channel we know we are in

This commit is contained in:
jesopo 2019-12-20 22:03:40 +00:00
parent c5e8a8e6f1
commit 3c77793490

View file

@ -123,8 +123,9 @@ def handle_324(events, event):
args_str=args)
def handle_329(event):
channel = event["server"].channels.get(event["line"].args[1])
channel.creation_timestamp = int(event["line"].args[2])
if event["line"].args[1] in event["server"].channels:
channel = event["server"].channels.get(event["line"].args[1])
channel.creation_timestamp = int(event["line"].args[2])
def handle_477(timers, event):
pass