diff --git a/irc.py b/irc.py index 7fda7af..711e547 100644 --- a/irc.py +++ b/irc.py @@ -69,7 +69,7 @@ class Message(object): for key in items: if key == "data": continue - e.append(key+"="+str(items[key])) + e.append(key+"='"+str(items[key])+"'") return "<" + self.__class__.__name__ + " " + ", ".join(e) + ">" def __str__(self):