mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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:
|
except KeyError:
|
||||||
return
|
return
|
||||||
cursor.execute("""INSERT INTO user_stats VALUES (
|
cursor.execute("""INSERT INTO user_stats VALUES (
|
||||||
NULL, %s, %s, %s, %s, %s,
|
NULL, %s, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
%s, %s, 1, %s,
|
0, 0, 0, 0, 0, 0, 0)""", id)
|
||||||
0, 0, 0, 0, 0, 0, 0)""",
|
|
||||||
id, int(time.time()), s,
|
|
||||||
smileys, frowns, chars, words, int(isAction))
|
|
||||||
cursor.execute("""UPDATE user_stats SET
|
cursor.execute("""UPDATE user_stats SET
|
||||||
last_seen=%s, last_msg=%s, chars=chars+%s,
|
last_seen=%s, last_msg=%s, chars=chars+%s,
|
||||||
words=words+%s, msgs=msgs+1,
|
words=words+%s, msgs=msgs+1,
|
||||||
|
Loading…
Reference in New Issue
Block a user