summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/xs/Irssi-dcc.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/perl/xs/Irssi-dcc.xs b/src/perl/xs/Irssi-dcc.xs
index fe524c0b..900c475e 100644
--- a/src/perl/xs/Irssi-dcc.xs
+++ b/src/perl/xs/Irssi-dcc.xs
@@ -25,6 +25,8 @@ dcc_find_by_port(nick, port)
char *
dcc_type2str(type)
int type
+CODE:
+ RETVAL = (char *) dcc_type2str(type);
int
dcc_str2type(type)