about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/config/accounts.c2
1 files changed, 1 insertions, 1 deletions
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