We are so smart! S-M-R-T!

This commit is contained in:
James Vega 2004-08-27 17:20:15 +00:00
parent b2b0e26e59
commit a68f8cabfe

View File

@ -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