Move disco info struct to connection

This commit is contained in:
James Booth
2016-05-07 23:28:16 +01:00
parent 9596591610
commit 6ce8edc194
8 changed files with 71 additions and 61 deletions

View File

@@ -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;
}