mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
removed the debugging code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8ba1989227
commit
bfb8e8da33
@ -99,12 +99,8 @@ SV *irssi_bless_iobject(int type, int chat_type, void *object)
|
|||||||
PERL_OBJECT_REC *rec;
|
PERL_OBJECT_REC *rec;
|
||||||
HV *stash, *hv;
|
HV *stash, *hv;
|
||||||
|
|
||||||
|
g_return_val_if_fail((type & ~0xffff) == 0, NULL);
|
||||||
g_return_val_if_fail((chat_type & ~0xffff) == 0, NULL);
|
g_return_val_if_fail((chat_type & ~0xffff) == 0, NULL);
|
||||||
if ((type & ~0xffff) != 0) {
|
|
||||||
g_warning("BUG - id = %d, uniq. ID counter going in %d",
|
|
||||||
type, module_get_uniq_id("bug", 0));
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
rec = g_hash_table_lookup(iobject_stashes,
|
rec = g_hash_table_lookup(iobject_stashes,
|
||||||
GINT_TO_POINTER(type | (chat_type << 16)));
|
GINT_TO_POINTER(type | (chat_type << 16)));
|
||||||
|
Loading…
Reference in New Issue
Block a user