aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/line_handler.py')
-rw-r--r--modules/line_handler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py
index df459f9c..8a017ed7 100644
--- a/modules/line_handler.py
+++ b/modules/line_handler.py
@@ -469,6 +469,8 @@ class Module(ModuleManager.BaseModule):
channel = None
if target[0] in event["server"].channel_types:
+ if not target in event["server"].channels:
+ return
channel = event["server"].channels.get(target)
action = False