mirror of
https://github.com/wownero/tippero.git
synced 2026-12-02 05:24:05 +01:00
Don't try to update last active time on direct chats to the bot
This commit is contained in:
@@ -165,6 +165,8 @@ def GetSendTo(nick,chan):
|
||||
return nick
|
||||
|
||||
def UpdateLastActiveTime(chan,nick):
|
||||
if chan[0] != '#':
|
||||
return
|
||||
if not chan in userstable:
|
||||
log_error("UpdateLastActiveTime: %s spoke in %s, but %s not found in users table" % (nick, chan, chan))
|
||||
userstable[chan] = dict()
|
||||
|
||||
Reference in New Issue
Block a user