Log error when ZNC says a channel can't be joined
This commit is contained in:
parent
fc3a349cb3
commit
16ab37cc0c
|
@ -240,6 +240,8 @@ class IRCBot(IRCClient):
|
||||||
if "Connected!" in cast["msg"]:
|
if "Connected!" in cast["msg"]:
|
||||||
log("ZNC connected on %s - %i" % (self.net, self.num))
|
log("ZNC connected on %s - %i" % (self.net, self.num))
|
||||||
self.isconnected = True
|
self.isconnected = True
|
||||||
|
if "could not be joined, disabling it" in cast["msg"]:
|
||||||
|
error(cast["msg"])
|
||||||
#
|
#
|
||||||
|
|
||||||
# don't reprocess the same message twice
|
# don't reprocess the same message twice
|
||||||
|
@ -650,7 +652,6 @@ class IRCBot(IRCClient):
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
self.authenticated = True
|
self.authenticated = True
|
||||||
warn("Won't send registration ping for %s - %i" % (self.net, self.num))
|
|
||||||
|
|
||||||
def signedOn(self):
|
def signedOn(self):
|
||||||
log("signed on: %s - %i" % (self.net, self.num))
|
log("signed on: %s - %i" % (self.net, self.num))
|
||||||
|
|
Loading…
Reference in New Issue