diff --git a/bot.py b/bot.py index 652ab54..c053caf 100644 --- a/bot.py +++ b/bot.py @@ -305,8 +305,8 @@ class bot: mm.close() else: if ircmsg.startswith("PING "): - ping(ircmsg) + self.ping(ircmsg) elif ircmsg.startswith("ERROR :Closing Link"): - exit("I got killed :'(") + self.exit("I got killed :'(") elif ircmsg.startswith("ERROR :Ping "): - exit("Ping timeout") + self.exit("Ping timeout")