Log error when ZNC says a channel can't be joined

pull/1/head
Mark Veidemanis 4 years ago
parent fc3a349cb3
commit 16ab37cc0c

@ -240,6 +240,8 @@ class IRCBot(IRCClient):
if "Connected!" in cast["msg"]:
log("ZNC connected on %s - %i" % (self.net, self.num))
self.isconnected = True
if "could not be joined, disabling it" in cast["msg"]:
error(cast["msg"])
#
# don't reprocess the same message twice
@ -650,7 +652,6 @@ class IRCBot(IRCClient):
return
else:
self.authenticated = True
warn("Won't send registration ping for %s - %i" % (self.net, self.num))
def signedOn(self):
log("signed on: %s - %i" % (self.net, self.num))

Loading…
Cancel
Save