From 9950a527c17037e281c1573e3ae8e6449a3e4b9e Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 25 Nov 2017 20:26:56 +0000 Subject: [PATCH] Remove the bot instance when disabling --- threshold | 1 + 1 file changed, 1 insertion(+) diff --git a/threshold b/threshold index 5a0234e..882e78c 100755 --- a/threshold +++ b/threshold @@ -443,6 +443,7 @@ class Helper(object): if spl[1] in IRCPool.keys(): if IRCPool[spl[1]].connected == True: IRCPool[spl[1]].transport.loseConnection() + del IRCPool[spl[1]] success("Successfully disabled bot %s" % spl[1]) return else: