1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

use_protocols variable wasn't initialized

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1112 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-14 01:04:49 +00:00 committed by cras
parent 4941f4f6e9
commit aa447813d0

View File

@ -577,6 +577,8 @@ void perl_common_init(void)
plain_stashes = g_hash_table_new((GHashFunc) g_str_hash, plain_stashes = g_hash_table_new((GHashFunc) g_str_hash,
(GCompareFunc) g_str_equal); (GCompareFunc) g_str_equal);
irssi_add_plains(core_plains); irssi_add_plains(core_plains);
use_protocols = NULL;
g_slist_foreach(chat_protocols, (GFunc) perl_register_protocol, NULL); g_slist_foreach(chat_protocols, (GFunc) perl_register_protocol, NULL);
signal_add("chat protocol created", (SIGNAL_FUNC) sig_protocol_created); signal_add("chat protocol created", (SIGNAL_FUNC) sig_protocol_created);