about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-07 23:28:16 +0100
committerJames Booth <boothj5@gmail.com>2016-05-07 23:28:16 +0100
commit6ce8edc194f76e5a95d99887f378c0fee1202366 (patch)
treec6f577db00d67505cb455bea0538a16882f5fa18 /src/command
parent9596591610ae01a47cbd37f636094da6bb44d054 (diff)
downloadprofani-tty-6ce8edc194f76e5a95d99887f378c0fee1202366.tar.gz
Move disco info struct to connection
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index d3e0fc92..3cbca95e 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -2991,7 +2991,7 @@ cmd_blocked(ProfWin *window, const char *const command, gchar **args)
         return TRUE;
     }
 
-    if (!session_service_supports(XMPP_FEATURE_BLOCKING)) {
+    if (!connection_supports(XMPP_FEATURE_BLOCKING)) {
         cons_show("Blocking not supported by server.");
         return TRUE;
     }