3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

Irc: show the current encoding setting in fullVersion()

This commit is contained in:
James Lu 2017-06-02 08:46:37 -07:00
parent f80c5df971
commit f97db31533

View File

@ -1013,7 +1013,7 @@ class Irc(utils.DeprecatedAttributesObject):
Returns a detailed version string including the PyLink daemon version,
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
def hostname(self):