comparison irclib.py @ 23:abdb7a2b6c6d

Minor fixes. Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Thu, 20 Aug 2009 18:58:29 +0200
parents 32a35f7eff70
children 4e1f27ea527b
comparison
equal deleted inserted replaced
22:e2bd4de698e5 23:abdb7a2b6c6d
696 try: 696 try:
697 self.socket.close() 697 self.socket.close()
698 except socket.error, x: 698 except socket.error, x:
699 pass 699 pass
700 self.socket = None 700 self.socket = None
701 self.irclibobj
702 self._handle_event(Event("disconnect", self.server, "", [message])) 701 self._handle_event(Event("disconnect", self.server, "", [message]))
703 702
704 def globops(self, text): 703 def globops(self, text):
705 """Send a GLOBOPS command.""" 704 """Send a GLOBOPS command."""
706 self.send_raw("GLOBOPS :" + text) 705 self.send_raw("GLOBOPS :" + text)