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 | d9735e0b96e3875d5866f582de56c7fb8543ff48 (patch) | |
| tree | 67b9847ae3f1f5a6d096a80832b87c1a33522b50 /Reaktor/IRC | |
| parent | e13e7a4477108cefd004a65a8eee28abe0ec28c1 (diff) | |
reaktor: disconnect function
Diffstat (limited to 'Reaktor/IRC')
| -rw-r--r-- | Reaktor/IRC/ircasy.py | 4 | 
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()  | 
