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:
parent
f80c5df971
commit
f97db31533
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user