diff --git a/docs/source/conf.py b/docs/source/conf.py index 03ea240..9070c08 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,7 @@ author = 'Thor77' # The short X.Y version. version = '0.2' # The full version, including alpha/beta/rc tags. -release = '0.2.4' +release = '0.2.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 201407f..3e9a4c8 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='tsstats', - version='0.2.4', + version='0.2.5', author='Thor77', author_email='thor77@thor77.org', description='A simple Teamspeak stats-generator', diff --git a/tsstats/log.py b/tsstats/log.py index b4621ff..44ee296 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -34,6 +34,7 @@ def parse_logs(log_path, ident_map=None): if data.startswith('client'): nick, clid = re_dis_connect.findall(data)[0] client = clients.setdefault(clid, Client(clid, nick)) + client.nick = nick # set nick to display changes if data.startswith('client connected'): client.connect(logdatetime) elif data.startswith('client disconnected'):