diff options
| author | lassulus <lassulus@googlemail.com> | 2014-01-14 00:02:54 +0100 | 
|---|---|---|
| committer | lassulus <lassulus@googlemail.com> | 2014-01-14 00:02:54 +0100 | 
| commit | 8642373ef5b068ff7996fc9172d9d857d8ad2934 (patch) | |
| tree | da472a63a4715c9b2679b482bd99c508fba61b77 /IRC | |
| parent | e4657352b4ed70174136544f348c331f05371f41 (diff) | |
reaktor: disconnect function
Diffstat (limited to 'IRC')
| -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() | 
