summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-02-01 18:34:43 +0100
committermathieui <mathieui@mathieui.net>2014-02-01 18:34:43 +0100
commit3fe044d5b89156bdc087af514d53603173eaa365 (patch)
treee900fc3e520eb605a37bf1a281ad7b292cefbde7 /src/core.py
parentb4b8f2a4557a8b4a2d1fc53550039a1b5c9d6279 (diff)
downloadpoezio-3fe044d5b89156bdc087af514d53603173eaa365.tar.gz
poezio-3fe044d5b89156bdc087af514d53603173eaa365.tar.bz2
poezio-3fe044d5b89156bdc087af514d53603173eaa365.tar.xz
poezio-3fe044d5b89156bdc087af514d53603173eaa365.zip
Fix #2437 (show version in /self)
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index ab068397..766061bd 100644
--- a/src/core.py
+++ b/src/core.py
@@ -51,7 +51,7 @@ import bookmark
from plugin_manager import PluginManager
from data_forms import DataFormsTab
-from config import config, firstrun
+from config import config, firstrun, options as config_opts
from logger import logger
from roster import roster
from contact import Contact, Resource
@@ -2631,11 +2631,13 @@ class Core(object):
show, message = status.show, status.message
nick = self.own_nick
jid = self.xmpp.boundjid.full
- info = 'Your JID is %s\nYour current status is "%s" (%s)\nYour default nickname is %s' % (
+ info = ('Your JID is %s\nYour current status is "%s" (%s)'
+ '\nYour default nickname is %s\nYou are running poezio %s' % (
jid,
message if message else '',
show if show else 'available',
- nick)
+ nick,
+ config_opts.version))
self.information(info, 'Info')
def register_initial_commands(self):