forked from PsychoticNinja/irssi
Windowitem->{type} wasn't set properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1595 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
76e0e448af
commit
f9c9e6fc75
@ -229,7 +229,7 @@ void perl_window_item_fill_hash(HV *hv, WI_ITEM_REC *item)
|
|||||||
g_return_if_fail(hv != NULL);
|
g_return_if_fail(hv != NULL);
|
||||||
g_return_if_fail(item != NULL);
|
g_return_if_fail(item != NULL);
|
||||||
|
|
||||||
type = (char *) module_find_id_str("WINDOW ITEM", item->type);
|
type = (char *) module_find_id_str("WINDOW ITEM TYPE", item->type);
|
||||||
chat_type = (char *) chat_protocol_find_id(item->chat_type)->name;
|
chat_type = (char *) chat_protocol_find_id(item->chat_type)->name;
|
||||||
|
|
||||||
hv_store(hv, "type", 4, new_pv(type), 0);
|
hv_store(hv, "type", 4, new_pv(type), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user