summaryrefslogtreecommitdiff
path: root/src/perl/irc/Bans.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/irc/Bans.xs')
-rw-r--r--src/perl/irc/Bans.xs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/perl/irc/Bans.xs b/src/perl/irc/Bans.xs
index c89ff4c5..5412018d 100644
--- a/src/perl/irc/Bans.xs
+++ b/src/perl/irc/Bans.xs
@@ -22,19 +22,3 @@ void
ban_remove(channel, ban)
Irssi::Irc::Channel channel
char *ban
-
-#*******************************
-MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Ban
-#*******************************
-
-void
-init(ban)
- Irssi::Irc::Ban ban
-PREINIT:
- HV *hv;
-PPCODE:
- hv = newHV();
- hv_store(hv, "ban", 3, new_pv(ban->ban), 0);
- hv_store(hv, "setby", 5, new_pv(ban->setby), 0);
- hv_store(hv, "time", 4, newSViv(ban->time), 0);
- XPUSHs(sv_2mortal(newRV_noinc((SV*)hv)));