strip ":" from "nick: ++"
This commit is contained in:
parent
30ead4dcb6
commit
4ed8906075
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
target = event["match"].group(2).strip().rstrip("".join(WORD_STOP))
|
target = event["match"].group(2).strip().rstrip("".join(WORD_STOP))
|
||||||
if event["match"].group(1):
|
if event["match"].group(1):
|
||||||
if not target:
|
if not target:
|
||||||
target = event["match"].group(1)
|
target = event["match"].group(1)[1:]
|
||||||
elif not event["server"].has_user(event["match"].group(1)[:-1]):
|
elif not event["server"].has_user(event["match"].group(1)[:-1]):
|
||||||
target = "%s %s" % (event["match"].group(1), target)
|
target = "%s %s" % (event["match"].group(1), target)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue