summaryrefslogtreecommitdiff
path: root/src/perl/irc
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-06-27 14:31:04 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-06-27 14:31:04 +0200
commitb8c2915d79a1e0ccec92e627b716fe0a6af81fc6 (patch)
tree57f01b2716bd7ab4159eb68ac5fb9aec88a48d59 /src/perl/irc
parente4051eb42e7ab9965c9e523c443dca26326ef73a (diff)
parentf58a461c54f2189543d64303e8c80bacda78448d (diff)
downloadirssi-b8c2915d79a1e0ccec92e627b716fe0a6af81fc6.zip
Merge pull request #59 from ailin-nemui/perl-pl-na
get rid of PL_na
Diffstat (limited to 'src/perl/irc')
-rw-r--r--src/perl/irc/Server.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/irc/Server.xs b/src/perl/irc/Server.xs
index 4fe0d6b5..0e9ec672 100644
--- a/src/perl/irc/Server.xs
+++ b/src/perl/irc/Server.xs
@@ -35,7 +35,7 @@ static GSList *event_hash2list(HV *hv)
while ((he = hv_iternext(hv)) != NULL) {
I32 len;
char *key = hv_iterkey(he, &len);
- char *value = SvPV(HeVAL(he), PL_na);
+ char *value = SvPV_nolen(HeVAL(he));
list = g_slist_append(list, g_strdup(key));
list = g_slist_append(list, g_strdup(value));