mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
We are so smart! S-M-R-T!
This commit is contained in:
parent
b2b0e26e59
commit
a68f8cabfe
@ -295,7 +295,7 @@ class Karma(callbacks.PrivmsgCommandAndRegexp):
|
||||
clear = privmsgs.checkChannelCapability(clear, 'op')
|
||||
|
||||
def increaseKarma(self, irc, msg, match):
|
||||
r"^(\S+)\+\+(?:\s+)?$"
|
||||
r"^(\S+)\+\+\s*$"
|
||||
channel = msg.args[0]
|
||||
if not ircutils.isChannel(channel):
|
||||
return
|
||||
@ -308,7 +308,7 @@ class Karma(callbacks.PrivmsgCommandAndRegexp):
|
||||
irc.replySuccess()
|
||||
|
||||
def decreaseKarma(self, irc, msg, match):
|
||||
r"^(\S+)--(?:\s+)?$"
|
||||
r"^(\S+)--\s*$"
|
||||
channel = msg.args[0]
|
||||
if not ircutils.isChannel(channel):
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user