diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 9fd6eed4..98fe72e4 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -125,11 +125,11 @@ cmd_connect(gchar **args, struct cmd_help_t help) return TRUE; } } - g_free(def); - def = NULL; char *lower = g_utf8_strdown(user, -1); char *jid; + g_free(def); + def = NULL; ProfAccount *account = accounts_get_account(lower); if (account != NULL) { |