Commits

Anonymous committed c18e31d

Added comment about how some IRC servers' treat QUIT messages.
Patch from Jeff Huang.

Comments (0)

Files changed (2)

 2005-01-17  Joel Rosdahl  <joel@rosdahl.net>
 
+	* irclib.py (ServerConnection.quit): Added comment about how some
+	IRC servers' treat QUIT messages. Patch from Jeff Huang.
+
 	* ircbot.py (SingleServerIRCBot.jump_server): Improved jump_server
 	behaviour. Patch from Jeff Huang.
 
 
     def quit(self, message=""):
         """Send a QUIT command."""
+        # Note that many IRC servers don't use your QUIT message
+        # unless you've been connected for at least 5 minutes!
         self.send_raw("QUIT" + (message and (" :" + message)))
 
     def sconnect(self, target, port="", server=""):