modularise irc component

This commit is contained in:
Ailin Nemui 2019-07-17 13:37:19 +02:00
commit 00a7efc69f
11 changed files with 46 additions and 8 deletions

View file

@ -584,6 +584,9 @@ static void perl_register_protocol(CHAT_PROTOCOL_REC *rec)
chat_type = chat_protocol_lookup(rec->name);
g_return_if_fail(chat_type >= 0);
if (rec->not_initialized)
return;
name = g_ascii_strdown(rec->name,-1);
*name = *(rec->name);