We need to pass a str to lstrip, not an array (line_handler.py)
This commit is contained in:
parent
1301e80621
commit
16337fa16e
1 changed files with 2 additions and 1 deletions
|
@ -413,7 +413,8 @@ class Module(ModuleManager.BaseModule):
|
|||
# strip prefix_symbols from the start of target, for when people use
|
||||
# e.g. 'PRIVMSG +#channel :hi' which would send a message to only
|
||||
# voiced-or-above users
|
||||
target = target.lstrip(list(event["server"].prefix_symbols.keys()))
|
||||
prefix_symbols = "".join(event["server"].prefix_symbols.keys())
|
||||
target = target.lstrip(prefix_symbols)
|
||||
|
||||
channel = None
|
||||
if target[0] in event["server"].channel_types:
|
||||
|
|
Loading…
Reference in a new issue