1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@690 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-09-28 00:28:48 +00:00 committed by cras
parent 49b22f8b31
commit 9843c46cc7

View File

@ -184,6 +184,9 @@ static void notifylist_init_server(IRC_SERVER_REC *server)
g_return_if_fail(server != NULL); g_return_if_fail(server != NULL);
if (!IS_IRC_SERVER(server))
return;
rec = g_new0(MODULE_SERVER_REC,1 ); rec = g_new0(MODULE_SERVER_REC,1 );
MODULE_DATA_SET(server, rec); MODULE_DATA_SET(server, rec);
@ -197,6 +200,9 @@ static void notifylist_deinit_server(IRC_SERVER_REC *server)
g_return_if_fail(server != NULL); g_return_if_fail(server != NULL);
if (!IS_IRC_SERVER(server))
return;
mserver = MODULE_DATA(server); mserver = MODULE_DATA(server);
while (mserver->notify_users != NULL) { while (mserver->notify_users != NULL) {
rec = mserver->notify_users->data; rec = mserver->notify_users->data;