changeset 271:18c9e8b823bc

(irclib) minor fix, better UnknownChannel arguments Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 23 Mar 2010 18:46:58 +0100
parents 7640a3feddf5
children d04e40b7be2e
files irclib.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/irclib.py
+++ b/irclib.py
@@ -1013,7 +1013,7 @@ class ServerConnection(Connection):
                 try:
                     self.channels[channels].part(message=message)
                 except KeyError:
-                    raise UnknownChannel, (channels, message, self)
+                    raise UnknownChannel, (channels, message, str(self))
             else:
                 for channel in channels:
                     try: