Defer initialUsers, initialNames and delChannel to threads to improve performance
This commit is contained in:
@@ -398,7 +398,7 @@ class IRCBot(IRCClient):
|
||||
lc.stop()
|
||||
del self._getWho[channel]
|
||||
userinfo.delChannel(self.net, channel) # < we do not need to deduplicate this
|
||||
log("Can no longer cover %s, removing records" % channel) # as it will only be matched once --
|
||||
#log("Can no longer cover %s, removing records" % channel)# as it will only be matched once --
|
||||
# other bots have different nicknames so
|
||||
def left(self, user, channel, message): # even if they saw it, they wouldn't react
|
||||
self.event(type="part", muser=user, target=channel, message=message)
|
||||
|
||||
Reference in New Issue
Block a user