diff options
| author | 2019-12-20 22:03:40 +0000 | |
|---|---|---|
| committer | 2019-12-20 22:03:40 +0000 | |
| commit | 3c777934900edcf966a36b74068d84c3d7338c3d (patch) | |
| tree | 64621e7fac0e418dbc26641929612828e7169be4 /src/core_modules/line_handler | |
| parent | add default for data-directory, don't try to make data dir (diff) | |
| signature | ||
only look at 329 when it's a channel we know we are in
Diffstat (limited to 'src/core_modules/line_handler')
| -rw-r--r-- | src/core_modules/line_handler/channel.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core_modules/line_handler/channel.py b/src/core_modules/line_handler/channel.py index 91150839..0def7828 100644 --- a/src/core_modules/line_handler/channel.py +++ b/src/core_modules/line_handler/channel.py @@ -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 |
