Skip to content

Commit 1b18730

Browse files
committed
fix: addpoint() takes 4 positional arguments but 5 were given in karma.py
1 parent f0fa489 commit 1b18730

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/karma.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ def re_addpt(match, nick, chan, db, conn, 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")
@@ -117,10 +117,10 @@ def re_rmpt(match, nick, chan, db, conn, 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

Comments
 (0)