# HG changeset patch # User Charly COSTE # Date 1263753176 -3600 # Node ID 484d8780bd341f0c06ef0ea53d23a56a9ceb56bc # Parent 0aa31a2b9316cea36b12c1fb1398445fb0ef0317 strip events' properties Signed-off-by: Charly COSTE diff --git a/irclib.py b/irclib.py --- 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: