diff --git a/irccloud.py b/irccloud.py index c91c2ec..9eb4faa 100644 --- a/irccloud.py +++ b/irccloud.py @@ -37,7 +37,7 @@ def get_authentication_token(self): url = "https://www.irccloud.com/chat/auth-formtoken" r = requests.post(url) response = r.json() - if debug_mode: + if self.debugging: self.log.debug(response) if response["success"]: self.log.info("Successfully obtained authentication token.")