parent
e9f6f63466
commit
79f05aa61b
1 changed files with 4 additions and 1 deletions
|
@ -315,6 +315,9 @@ def multiline(text, channel):
|
|||
times += 1
|
||||
from sys import exit
|
||||
def restart():
|
||||
if cntr != None:
|
||||
cntr.kill()
|
||||
cntr.remove()
|
||||
irc.irc_socket.close()
|
||||
irc2.irc_socket.close()
|
||||
irc3.irc_socket.close()
|
||||
|
@ -688,7 +691,7 @@ while True:
|
|||
if cntr == None:
|
||||
irc.send_irc(channel, nick + ":[OK] No container is loaded yet.")
|
||||
else:
|
||||
cntr.stop()
|
||||
cntr.kill()
|
||||
cntr.remove()
|
||||
cntr = None
|
||||
irc.send_irc(channel, nick + ":[OK] Done.")
|
||||
|
|
Loading…
Add table
Reference in a new issue