Log error when ZNC says a channel can't be joined
This commit is contained in:
parent
b652b11335
commit
e22349802b
|
@ -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…
Reference in New Issue