From 04e37ebd043e86483220987abaa611b42cefb7f6 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 24 Jul 2016 10:59:25 -0700 Subject: [PATCH] commands: mention the VCS version as well --- plugins/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands.py b/plugins/commands.py index 230fc98..705159c 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -1,7 +1,7 @@ # commands.py: base PyLink commands from time import ctime -from pylinkirc import utils, __version__, world +from pylinkirc import utils, __version__, world, real_version from pylinkirc.log import log @utils.add_cmd @@ -112,7 +112,7 @@ def version(irc, source, args): """takes no arguments. Returns the version of the currently running PyLink instance.""" - irc.reply("PyLink version \x02%s\x02, released under the Mozilla Public License version 2.0." % __version__) + irc.reply("PyLink version \x02%s\x02 (in VCS: %s), released under the Mozilla Public License version 2.0." % (__version__, real_version)) irc.reply("The source of this program is available at \x02%s\x02." % world.source) @utils.add_cmd