bot: fix bad call
This commit is contained in:
parent
ae2f7069c7
commit
1e4184a18d
|
@ -194,7 +194,7 @@ class Bot(irc.client.SimpleIRCClient, Logger):
|
||||||
if self.done:
|
if self.done:
|
||||||
return
|
return
|
||||||
self.log_i("Stopping Edmond.")
|
self.log_i("Stopping Edmond.")
|
||||||
self.__save_storage()
|
self.save_storage()
|
||||||
if self.connection.is_connected():
|
if self.connection.is_connected():
|
||||||
self.connection.close()
|
self.connection.close()
|
||||||
self.done = True
|
self.done = True
|
||||||
|
|
Loading…
Reference in a new issue