aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-28 14:35:20 +0000
committerGravatar jesopo2019-03-28 14:35:20 +0000
commit023c6c9264cb073c5fa6af0061b2806a75d8e5d7 (patch)
tree34e2b92d860982e29b4cd49814d84a99898880d6 /modules
parentAlso human-ify coin bet amounts in a flip (diff)
signature
Only strip word stops from the right of a word
Diffstat (limited to 'modules')
-rw-r--r--modules/karma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/karma.py b/modules/karma.py
index fbdcdacb..ef694277 100644
--- a/modules/karma.py
+++ b/modules/karma.py
@@ -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(