Actually return str
object from IRCLine.__str__
This commit is contained in:
parent
d087143a5d
commit
63dc5009f7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Line(IRCObject.Object):
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
return "IRCLine.Line(%s)" % self.__str__()
|
return "IRCLine.Line(%s)" % self.__str__()
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return self._data
|
return self.decoded_data()
|
||||||
|
|
||||||
def _char_limit(self) -> int:
|
def _char_limit(self) -> int:
|
||||||
return LINE_CUTOFF-len(":%s " % self.server.hostmask())
|
return LINE_CUTOFF-len(":%s " % self.server.hostmask())
|
||||||
|
|
Loading…
Reference in a new issue