about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-19 00:09:51 +0000
committerJames Booth <boothj5@gmail.com>2014-01-19 00:09:51 +0000
commit2f58b2488f66761d693d071861bbfbf228f06602 (patch)
tree76eea4f9d6e1f0719acfefbfa5c404b4ef042f38
parent0edfef5612d8be8e8e56fdf578265df62356d8bf (diff)
downloadprofani-tty-2f58b2488f66761d693d071861bbfbf228f06602.tar.gz
Added port to /account show <account>
-rw-r--r--src/ui/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 8a746959..d1c1e52b 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -797,6 +797,9 @@ _cons_show_account(ProfAccount *account)
     if (account->server != NULL) {
         cons_show   ("server         : %s", account->server);
     }
+    if (account->port != 0) {
+        cons_show   ("port           : %d", account->port);
+    }
     if (account->muc_service != NULL) {
         cons_show   ("muc service    : %s", account->muc_service);
     }