diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs index 37303ebb..328e9c56 100644 --- a/src/perl/irc/Irc.xs +++ b/src/perl/irc/Irc.xs @@ -108,13 +108,6 @@ static void perl_netsplit_channel_fill_hash(HV *hv, NETSPLIT_CHAN_REC *rec) hv_store(hv, "nick", 4, irssi_bless(&rec->nick), 0); } -static void perl_autoignore_fill_hash(HV *hv, AUTOIGNORE_REC *ai) -{ - hv_store(hv, "nick", 4, new_pv(ai->nick), 0); - hv_store(hv, "timeleft", 8, newSViv(ai->timeleft), 0); - hv_store(hv, "level", 5, newSViv(ai->level), 0); -} - static void perl_notifylist_fill_hash(HV *hv, NOTIFYLIST_REC *notify) { AV *av; @@ -137,7 +130,6 @@ static PLAIN_OBJECT_INIT_REC irc_plains[] = { { "Irssi::Irc::Netsplit", (PERL_OBJECT_FUNC) perl_netsplit_fill_hash }, { "Irssi::Irc::Netsplitserver", (PERL_OBJECT_FUNC) perl_netsplit_server_fill_hash }, { "Irssi::Irc::Netsplitchannel", (PERL_OBJECT_FUNC) perl_netsplit_channel_fill_hash }, - { "Irssi::Irc::Autoignore", (PERL_OBJECT_FUNC) perl_autoignore_fill_hash }, { "Irssi::Irc::Notifylist", (PERL_OBJECT_FUNC) perl_notifylist_fill_hash }, { NULL, NULL } diff --git a/src/perl/irc/module.h b/src/perl/irc/module.h index 7f35b4a6..aa70eb0a 100644 --- a/src/perl/irc/module.h +++ b/src/perl/irc/module.h @@ -36,5 +36,4 @@ typedef SEND_DCC_REC *Irssi__Irc__Dcc__Send; typedef NETSPLIT_REC *Irssi__Irc__Netsplit; typedef NETSPLIT_SERVER_REC *Irssi__Irc__Netsplitserver; typedef NETSPLIT_CHAN_REC *Irssi__Irc__Netsplitchannel; -typedef AUTOIGNORE_REC *Irssi__Irc__Autoignore; typedef NOTIFYLIST_REC *Irssi__Irc__Notifylist; diff --git a/src/perl/irc/typemap b/src/perl/irc/typemap index 8608e384..c4721b1f 100644 --- a/src/perl/irc/typemap +++ b/src/perl/irc/typemap @@ -13,7 +13,6 @@ Irssi::Irc::Dcc::Send T_DccObj Irssi::Irc::Netsplit T_PlainObj Irssi::Irc::Netsplitserver T_PlainObj Irssi::Irc::Netsplitchannel T_PlainObj -Irssi::Irc::Autoignore T_PlainObj Irssi::Irc::Notifylist T_PlainObj Irssi::Windowitem T_IrssiObj