@@ -54,14 +54,14 @@ def addpoint(text, nick, chan, db):
5454
5555
5656@hook .regex (karmaplus_re )
57- def re_addpt (match , nick , chan , db , conn , notice ):
57+ def re_addpt (match , nick , chan , db , notice ):
5858 """no useful help txt"""
5959 thing = match .group ().split ('++' )[0 ]
6060 if thing :
61- addpoint (thing , nick , chan , db , conn )
61+ addpoint (thing , nick , chan , db )
6262 # return out
6363 else :
64- notice (pluspts (nick , chan , db , conn ))
64+ notice (pluspts (nick , chan , db ))
6565
6666
6767@hook .command ("mm" , "rmpoint" )
@@ -113,14 +113,14 @@ def minuspts(nick, chan, db):
113113
114114
115115@hook .regex (karmaminus_re )
116- def re_rmpt (match , nick , chan , db , conn , notice ):
116+ def re_rmpt (match , nick , chan , db , notice ):
117117 """no useful help txt"""
118118 thing = match .group ().split ('--' )[0 ]
119119 if thing :
120- rmpoint (thing , nick , chan , db , conn )
120+ rmpoint (thing , nick , chan , db )
121121 # return out
122122 else :
123- notice (minuspts (nick , chan , db , conn ))
123+ notice (minuspts (nick , chan , db ))
124124
125125
126126@hook .command ("points" , autohelp = False )
0 commit comments