diff options
Diffstat (limited to 'src/irc/core/server-reconnect.c')
-rw-r--r-- | src/irc/core/server-reconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/server-reconnect.c b/src/irc/core/server-reconnect.c index 3e1b993f..a89fc59f 100644 --- a/src/irc/core/server-reconnect.c +++ b/src/irc/core/server-reconnect.c @@ -351,7 +351,7 @@ static int sig_set_user_mode(IRC_SERVER_REC *server) modes_join(server->usermode, mode); if (server->usermode != NULL && strcmp(newmode, server->usermode) != 0) irc_send_cmdv(server, "MODE %s -%s+%s", server->nick, server->usermode, mode); - g_free(newmode); + g_free_not_null(newmode); return 0; } |