Only strip word stops from the right of a word
This commit is contained in:
parent
3f8d5e9f50
commit
023c6c9264
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
if not event["user"].last_karma or (time.time()-event["user"
|
||||
].last_karma) >= KARMA_DELAY_SECONDS:
|
||||
target = match.group(1).strip().strip("".join(WORD_STOP))
|
||||
target = match.group(1).strip().rstrip("".join(WORD_STOP))
|
||||
if event["server"].irc_lower(target) == event["user"].name:
|
||||
if verbose:
|
||||
self.events.on("send.stderr").call(
|
||||
|
|
Loading…
Reference in a new issue