1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

fixed a crash (first cvs commit in home for 2 months :)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@244 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-05-26 15:28:13 +00:00 committed by cras
parent dc61a24934
commit b6cadd5388

View File

@ -346,7 +346,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", server->nick, mode);
g_free(newmode);
g_free_not_null(newmode);
return 0;
}