diff --git a/pyircbot/modules/Calc.py b/pyircbot/modules/Calc.py index 47c36db..afca135 100644 --- a/pyircbot/modules/Calc.py +++ b/pyircbot/modules/Calc.py @@ -79,7 +79,6 @@ class Calc(ModuleBase): seconds = int(remaining - (minutes * 60)) return "Please wait %s minute(s) and %s second(s)." % (minutes, seconds) - # @regex(r'(?:^\.?(?:calc|quote)(?:\s+?(?:([^=]+)(?:\s?(=)\s?(.+)?)?)?)?)') @regex(r'(?:^\.?(?:calc|quote)(?:\s+?(?:([^=]+)(?:\s?(=)\s?(.+)?)?)?)?)', types=['PRIVMSG']) def cmd_calc(self, match, message): word, changeit, value = match.groups() diff --git a/pyircbot/pyircbot.py b/pyircbot/pyircbot.py index b2ea7c7..587662a 100644 --- a/pyircbot/pyircbot.py +++ b/pyircbot/pyircbot.py @@ -92,9 +92,6 @@ class PyIRCBot(object): self.log.info("disconnect") self.kill(message=message) - def break_connection(self): - """Break the connection, e.g. in the case of an unresponsive server""" - def kill(self, message="Help! Another thread is killing me :(", forever=True): """Close the connection violently