mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
fix something
This commit is contained in:
parent
82f8ee57c3
commit
bee057ff21
6 changed files with 76 additions and 26 deletions
|
|
@ -583,6 +583,10 @@ static void perl_register_protocol(CHAT_PROTOCOL_REC *rec)
|
|||
SV *sv;
|
||||
|
||||
chat_type = chat_protocol_lookup(rec->name);
|
||||
if (chat_type == CHAT_PROTOCOL_NOT_INITIALIZED) {
|
||||
return;
|
||||
}
|
||||
|
||||
g_return_if_fail(chat_type >= 0);
|
||||
|
||||
name = g_ascii_strdown(rec->name,-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue