summaryrefslogtreecommitdiff
path: root/src/perl/irc/Server.xs
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2011-11-06 20:47:00 +0100
committerAilin Nemui <ailin@esf51.localdomain>2014-06-24 16:45:55 +0200
commit7dbb8efdde3720fd15f06de088848259e24e3397 (patch)
treea9089a585049399bfca289b5fe89f0642e86c1bd /src/perl/irc/Server.xs
parentc26a634fe6f65f44cdd036d2657fe4335ed6e309 (diff)
downloadirssi-7dbb8efdde3720fd15f06de088848259e24e3397.zip
get rid of PL_na
Diffstat (limited to 'src/perl/irc/Server.xs')
-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 a330fb20..854a2a54 100644
--- a/src/perl/irc/Server.xs
+++ b/src/perl/irc/Server.xs
@@ -34,7 +34,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));