mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Committed the fix for the bug mentioned by Flumminator.
This commit is contained in:
parent
0ddb356c0b
commit
d18d6b63c7
@ -260,11 +260,8 @@ class ChannelDB(plugins.ChannelDBHandler,
|
||||
except KeyError:
|
||||
return
|
||||
cursor.execute("""INSERT INTO user_stats VALUES (
|
||||
NULL, %s, %s, %s, %s, %s,
|
||||
%s, %s, 1, %s,
|
||||
0, 0, 0, 0, 0, 0, 0)""",
|
||||
id, int(time.time()), s,
|
||||
smileys, frowns, chars, words, int(isAction))
|
||||
NULL, %s, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0)""", id)
|
||||
cursor.execute("""UPDATE user_stats SET
|
||||
last_seen=%s, last_msg=%s, chars=chars+%s,
|
||||
words=words+%s, msgs=msgs+1,
|
||||
|
Loading…
Reference in New Issue
Block a user