mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@690 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
49b22f8b31
commit
9843c46cc7
@ -184,6 +184,9 @@ static void notifylist_init_server(IRC_SERVER_REC *server)
|
||||
|
||||
g_return_if_fail(server != NULL);
|
||||
|
||||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
|
||||
rec = g_new0(MODULE_SERVER_REC,1 );
|
||||
MODULE_DATA_SET(server, rec);
|
||||
|
||||
@ -197,6 +200,9 @@ static void notifylist_deinit_server(IRC_SERVER_REC *server)
|
||||
|
||||
g_return_if_fail(server != NULL);
|
||||
|
||||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
|
||||
mserver = MODULE_DATA(server);
|
||||
while (mserver->notify_users != NULL) {
|
||||
rec = mserver->notify_users->data;
|
||||
|
Loading…
Reference in New Issue
Block a user