Use target
(after prefixes lstrip) to get channel object (line_handler.py)
This commit is contained in:
parent
16337fa16e
commit
5e12d87ca3
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
channel = None
|
channel = None
|
||||||
if target[0] in event["server"].channel_types:
|
if target[0] in event["server"].channel_types:
|
||||||
channel = event["server"].channels.get(event["args"][0])
|
channel = event["server"].channels.get(target)
|
||||||
|
|
||||||
action = False
|
action = False
|
||||||
ctcp_message = utils.irc.parse_ctcp(message)
|
ctcp_message = utils.irc.parse_ctcp(message)
|
||||||
|
|
Loading…
Reference in a new issue