diff --git a/src/config/accounts.c b/src/config/accounts.c index b903d6be..7b9c6a6c 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -259,7 +259,7 @@ accounts_get_account(const char * const name) account->muc_nick = strdup(jidp->localpart); jid_destroy(jidp); } else { - account->muc_nick = strdup(muc_nick); + account->muc_nick = muc_nick; } // get room history