only look at 329 when it's a channel we know we are in
This commit is contained in:
parent
c5e8a8e6f1
commit
3c77793490
1 changed files with 3 additions and 2 deletions
|
@ -123,6 +123,7 @@ def handle_324(events, event):
|
||||||
args_str=args)
|
args_str=args)
|
||||||
|
|
||||||
def handle_329(event):
|
def handle_329(event):
|
||||||
|
if event["line"].args[1] in event["server"].channels:
|
||||||
channel = event["server"].channels.get(event["line"].args[1])
|
channel = event["server"].channels.get(event["line"].args[1])
|
||||||
channel.creation_timestamp = int(event["line"].args[2])
|
channel.creation_timestamp = int(event["line"].args[2])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue