mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Added small optimization.
This commit is contained in:
parent
bd800365ec
commit
e02589c204
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user