summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/servers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index e5aac01e..e9e37add 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -490,9 +490,7 @@ void server_connect_unref(SERVER_CONNECT_REC *conn)
void server_change_nick(SERVER_REC *server, const char *nick)
{
- g_free(server->connrec->nick);
g_free(server->nick);
- server->connrec->nick = g_strdup(nick);
server->nick = g_strdup(nick);
signal_emit("server nick changed", 1, server);