Added small optimization.

This commit is contained in:
Jeremy Fincher 2003-09-17 07:32:02 +00:00
parent bd800365ec
commit e02589c204

View File

@ -96,6 +96,7 @@ class IrcMsg(object):
else: else:
self.args = () self.args = ()
elif s: # Must be using a string. elif s: # Must be using a string.
self._str = s
if s[0] == ':': if s[0] == ':':
self.prefix, s = s[1:].split(None, 1) self.prefix, s = s[1:].split(None, 1)
else: else: