mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 22:51:01 +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')
|
clear = privmsgs.checkChannelCapability(clear, 'op')
|
||||||
|
|
||||||
def increaseKarma(self, irc, msg, match):
|
def increaseKarma(self, irc, msg, match):
|
||||||
r"^(\S+)\+\+(?:\s+)?$"
|
r"^(\S+)\+\+\s*$"
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if not ircutils.isChannel(channel):
|
if not ircutils.isChannel(channel):
|
||||||
return
|
return
|
||||||
@ -308,7 +308,7 @@ class Karma(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
|
|
||||||
def decreaseKarma(self, irc, msg, match):
|
def decreaseKarma(self, irc, msg, match):
|
||||||
r"^(\S+)--(?:\s+)?$"
|
r"^(\S+)--\s*$"
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if not ircutils.isChannel(channel):
|
if not ircutils.isChannel(channel):
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user