Rewritten signal handling code - it wasn't supposed to come before 0.9 irssi

but it doesn't break much things and is needed for Qt port :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-04-15 13:59:09 +00:00 committed by cras
commit 8b9c4823bf
6 changed files with 228 additions and 191 deletions

View file

@ -154,7 +154,7 @@ void command_bind_to(const char *module, int pos, const char *cmd,
if (func != NULL) {
str = g_strconcat("command ", cmd, NULL);
signal_add_to(module, pos, str, func);
signal_add_full(module, pos, str, func, NULL);
g_free(str);
}