summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-05-26 15:28:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-05-26 15:28:13 +0000
commitb6cadd5388333c9c035d80b4a1511dab26a820af (patch)
treef102a1c38c01cbbe932a2acaadb26aae800635a8 /src
parentdc61a24934b20d6e17a77a7c310bee811234363b (diff)
downloadirssi-b6cadd5388333c9c035d80b4a1511dab26a820af.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-server.c b/src/irc/core/irc-server.c
index 6bfdff39..4e3ecfd1 100644
--- a/src/irc/core/irc-server.c
+++ b/src/irc/core/irc-server.c
@@ -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;
}