|
|
@ -183,9 +183,12 @@ class IRCBot(IRCClient):
|
|
|
|
increment = 0.7
|
|
|
|
increment = 0.7
|
|
|
|
increment += 0.1
|
|
|
|
increment += 0.1
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
error("%s - %i - Cannot join channel we are already on - %s" % (self.net, self.num, i))
|
|
|
|
error("%s - Cannot join channel we are already on: %s - %i" % (i, self.net, self.num))
|
|
|
|
|
|
|
|
|
|
|
|
def checkChannels(self):
|
|
|
|
def checkChannels(self):
|
|
|
|
|
|
|
|
if not chankeep.allRelaysActive(self.net):
|
|
|
|
|
|
|
|
debug("Skipping channel check as we have inactive relays: %s - %i" % (self.net, self.num))
|
|
|
|
|
|
|
|
return
|
|
|
|
if self.net in main.TempChan.keys():
|
|
|
|
if self.net in main.TempChan.keys():
|
|
|
|
if self.num in main.TempChan[self.net].keys():
|
|
|
|
if self.num in main.TempChan[self.net].keys():
|
|
|
|
self.joinChannels(main.TempChan[self.net][self.num])
|
|
|
|
self.joinChannels(main.TempChan[self.net][self.num])
|
|
|
|