Use target (after prefixes lstrip) to get channel object (line_handler.py)

This commit is contained in:
jesopo 2019-01-27 22:43:35 +00:00
parent 16337fa16e
commit 5e12d87ca3

View file

@ -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)