Skip to content

Commit f23662f

Browse files
committed
Fix .point command
1 parent 931caf7 commit f23662f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/karma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def points(text, chan, db):
117117
query = select([karma_table.c.score]).where(karma_table.c.thing == thing.lower())
118118
else:
119119
text = text.strip()
120-
query = select([karma_table.c.score]).where(karma_table.c.thing == thing.lower()).where(
120+
query = select([karma_table.c.score]).where(karma_table.c.thing == text.lower()).where(
121121
karma_table.c.chan == chan)
122122

123123
karma = db.execute(query).fetchall()

0 commit comments

Comments
 (0)