mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
module deinit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@686 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
29c8c6e1cd
commit
ec8c613101
@ -316,6 +316,9 @@ static void signal_remove_module(void *signal, SIGNAL_REC *rec, const char *modu
|
||||
signal_id = GPOINTER_TO_INT(signal);
|
||||
|
||||
for (list = 0; list < SIGNAL_LISTS; list++) {
|
||||
if (rec->modulelist[list] == NULL)
|
||||
continue;
|
||||
|
||||
for (index = 0; index < rec->modulelist[list]->len; index++) {
|
||||
if (g_strcasecmp(g_ptr_array_index(rec->modulelist[list], index), module) == 0)
|
||||
signal_remove_from_list(rec, signal_id, list, index);
|
||||
|
Loading…
Reference in New Issue
Block a user