diff options
-rw-r--r-- | IRC/ircasy.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 6b478de..6b7567c 100644 --- a/IRC/ircasy.py +++ b/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() |