aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBot.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-25 14:27:12 +0100
committerGravatar jesopo2019-10-25 14:27:12 +0100
commitb3f43a67217b35ae06d7d66bb5b903ebb718661a (patch)
tree64fe64a0a8ae442cb1a415d493d36689b652a69b /src/IRCBot.py
parentFix !startvote advice on voting on the started vote (diff)
signature
remove bot.panic() `throw` kwarg
Diffstat (limited to 'src/IRCBot.py')
-rw-r--r--src/IRCBot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py
index 607d0dd1..1103dd9c 100644
--- a/src/IRCBot.py
+++ b/src/IRCBot.py
@@ -137,7 +137,7 @@ class Bot(object):
elif type == TriggerResult.Return:
return returned
- def panic(self, reason=None, throw=True):
+ def panic(self, reason=None):
callback = None
if not reason == None:
@@ -326,7 +326,7 @@ class Bot(object):
try:
loop()
except Exception as e:
- self.panic("Exception on '%s' thread" % name, throw=False)
+ self.panic("Exception on '%s' thread" % name)
def _write_loop(self):
while self._writing: