mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
Irc: show the current encoding setting in fullVersion()
This commit is contained in:
parent
f80c5df971
commit
f97db31533
@ -1013,7 +1013,7 @@ class Irc(utils.DeprecatedAttributesObject):
|
|||||||
Returns a detailed version string including the PyLink daemon version,
|
Returns a detailed version string including the PyLink daemon version,
|
||||||
the protocol module in use, and the server hostname.
|
the protocol module in use, and the server hostname.
|
||||||
"""
|
"""
|
||||||
fullversion = 'PyLink-%s. %s :[protocol:%s]' % (__version__, self.hostname(), self.protoname)
|
fullversion = 'PyLink-%s. %s :[protocol:%s, encoding:%s]' % (__version__, self.hostname(), self.protoname, self.encoding)
|
||||||
return fullversion
|
return fullversion
|
||||||
|
|
||||||
def hostname(self):
|
def hostname(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user