From d0545fb02167a28db04ce229b6dfa2d7283edeac Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 14 Oct 2012 19:19:38 +0200 Subject: Do not display "None" in the /self command --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index c27412a2..7b152549 100644 --- a/src/core.py +++ b/src/core.py @@ -2280,7 +2280,7 @@ class Core(object): jid = self.xmpp.boundjid.full info = 'Your JID is %s\nYour current status is "%s" (%s)\nYour default nickname is %s' % ( jid, - message, + message if message else '', show if show else 'available', nick) self.information(info, 'Info') -- cgit v1.2.3