diff options
author | Timo Sirainen <cras@irssi.org> | 2002-03-13 01:33:30 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-03-13 01:33:30 +0000 |
commit | bfb8e8da33a609ff8883e7e5509eb014e9cb551f (patch) | |
tree | 5e2721821d51016d939390acc6e2003e11cb6c67 /src | |
parent | 8ba1989227f293afea962652d0b2cb137ab51052 (diff) | |
download | irssi-bfb8e8da33a609ff8883e7e5509eb014e9cb551f.zip |
removed the debugging code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/perl/perl-common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c index 550425de..cb5f0987 100644 --- a/src/perl/perl-common.c +++ b/src/perl/perl-common.c @@ -99,12 +99,8 @@ SV *irssi_bless_iobject(int type, int chat_type, void *object) PERL_OBJECT_REC *rec; HV *stash, *hv; + g_return_val_if_fail((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, GINT_TO_POINTER(type | (chat_type << 16))); |