diff options
| author | 2019-01-27 22:43:35 +0000 | |
|---|---|---|
| committer | 2019-01-27 22:43:35 +0000 | |
| commit | 5e12d87ca3695d480a825e61badf25816166ddb1 (patch) | |
| tree | 7f13cc384b5afce96523b46b20ee27573ee0503a /modules | |
| parent | We need to pass a str to lstrip, not an array (line_handler.py) (diff) | |
| signature | ||
Use `target` (after prefixes lstrip) to get channel object (line_handler.py)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/line_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py index adb335fd..da41a463 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -418,7 +418,7 @@ class Module(ModuleManager.BaseModule): channel = None if target[0] in event["server"].channel_types: - channel = event["server"].channels.get(event["args"][0]) + channel = event["server"].channels.get(target) action = False ctcp_message = utils.irc.parse_ctcp(message) |
