mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added small optimization.
This commit is contained in:
parent
bd800365ec
commit
e02589c204
@ -96,6 +96,7 @@ class IrcMsg(object):
|
||||
else:
|
||||
self.args = ()
|
||||
elif s: # Must be using a string.
|
||||
self._str = s
|
||||
if s[0] == ':':
|
||||
self.prefix, s = s[1:].split(None, 1)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user