mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Don't try to update last active time on direct chats to the bot
This commit is contained in:
parent
e24389d5b4
commit
75d9c4de8e
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ def GetSendTo(nick,chan):
|
||||||
return nick
|
return nick
|
||||||
|
|
||||||
def UpdateLastActiveTime(chan,nick):
|
def UpdateLastActiveTime(chan,nick):
|
||||||
|
if chan[0] != '#':
|
||||||
|
return
|
||||||
if not chan in userstable:
|
if not chan in userstable:
|
||||||
log_error("UpdateLastActiveTime: %s spoke in %s, but %s not found in users table" % (nick, chan, chan))
|
log_error("UpdateLastActiveTime: %s spoke in %s, but %s not found in users table" % (nick, chan, chan))
|
||||||
userstable[chan] = dict()
|
userstable[chan] = dict()
|
||||||
|
|
Loading…
Reference in a new issue