Debug shit
This commit is contained in:
parent
f48ab28a8e
commit
77ca881b7e
6
tell.py
6
tell.py
@ -51,7 +51,11 @@ def checktell(phenny, input):
|
|||||||
global tell_diskwriteinterval, tell_lastdiskwrite, tell_lastlisthash, tell_pending
|
global tell_diskwriteinterval, tell_lastdiskwrite, tell_lastlisthash, tell_pending
|
||||||
for e in tell_list:
|
for e in tell_list:
|
||||||
if e[1].lower() == input.nick.lower():
|
if e[1].lower() == input.nick.lower():
|
||||||
phenny.say("%s: %s <%s> %s" % (input.nick, time.strftime('%m-%d %H:%M UTC', time.gmtime(e[3])), e[0], e[2]))
|
phenny.say("%s: %s <%s> %s" % (
|
||||||
|
input.nick,
|
||||||
|
time.strftime('%m-%d %H:%M UTC', time.gmtime(e[3])),
|
||||||
|
e[0],
|
||||||
|
e[2]))
|
||||||
tell_list.remove(e)
|
tell_list.remove(e)
|
||||||
tell_pending.append(("DELETE FROM tell WHERE nick = ? AND tellee = ? AND msg = ? AND time = ?", e))
|
tell_pending.append(("DELETE FROM tell WHERE nick = ? AND tellee = ? AND msg = ? AND time = ?", e))
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user