summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Reaktor/IRC/ircasy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py
index 6b478de7..6b7567cc 100644
--- a/Reaktor/IRC/ircasy.py
+++ b/Reaktor/IRC/ircasy.py
@@ -117,6 +117,10 @@ class asybot(asychat):
self.log.debug('>> %s' % msg)
asychat.push(self, msg)
+ def disconnect(self):
+ self.push('QUIT')
+ self.close()
+
def reconnect(self):
self.push('QUIT')
self.close()