changeset 148:484d8780bd34

strip events' properties Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 17 Jan 2010 19:32:56 +0100
parents 0aa31a2b9316
children 332bb2e8e71e
files irclib.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/irclib.py
+++ b/irclib.py
@@ -1154,9 +1154,9 @@ class Event:
 
             arguments -- Any event specific arguments.
         """
-        self._eventtype = eventtype
-        self._source = source
-        self._target = target
+        self._eventtype = eventtype.strip()
+        self._source = source.strip()
+        self._target = target.strip()
         if arguments:
             self._arguments = arguments
         else: