Fix debug statements and amend function names
This commit is contained in:
parent
d026881086
commit
415a0b1135
|
@ -640,14 +640,14 @@ class IRCBot(IRCClient):
|
|||
if reset:
|
||||
self._negativePass = None
|
||||
|
||||
debug(f"regProc() {self.net} - {self.num}: _negativePass:{self._negativepass} negativepass:{negativepass}")
|
||||
debug(f"regPing() {self.net} - {self.num}: _negativePass:{self._negativePass} negativepass:{negativepass}")
|
||||
if self._negativePass is None:
|
||||
# We have failed, the blacklisted message has been found
|
||||
if negativepass is False:
|
||||
self._negativePass = False
|
||||
debug(
|
||||
(
|
||||
f"registerTest() {self.net} - {self.num} not passed negative:checknegativemsg "
|
||||
f"regPing() {self.net} - {self.num} not passed negative:checknegativemsg "
|
||||
f"check, {sinst['checknegativemsg']} present in message"
|
||||
)
|
||||
)
|
||||
|
@ -658,7 +658,7 @@ class IRCBot(IRCClient):
|
|||
self._negativePass = True
|
||||
debug(
|
||||
(
|
||||
f"registerTest() {self.net} - {self.num} passed negative:checkendnegative "
|
||||
f"regPing() {self.net} - {self.num} passed negative:checkendnegative "
|
||||
f"check, {sinst['checkendnegative']} present in message"
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue