mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
get rid of PL_na
This commit is contained in:
parent
c26a634fe6
commit
7dbb8efdde
10 changed files with 26 additions and 26 deletions
|
|
@ -77,7 +77,7 @@ static char *perl_expando_event(PerlExpando *rec, SERVER_REC *server,
|
|||
if (rec->script != NULL)
|
||||
script_unregister_expandos(rec->script);
|
||||
|
||||
signal_emit("script error", 2, rec->script, SvPV(ERRSV, PL_na));
|
||||
signal_emit("script error", 2, rec->script, SvPV_nolen(ERRSV));
|
||||
} else if (retcount > 0) {
|
||||
ret = g_strdup(POPp);
|
||||
*free_ret = TRUE;
|
||||
|
|
@ -117,7 +117,7 @@ static void expando_signals_add_hash(const char *key, SV *signals)
|
|||
hv_iterinit(hv);
|
||||
while ((he = hv_iternext(hv)) != NULL) {
|
||||
SV *argsv = HeVAL(he);
|
||||
argstr = SvPV(argsv, PL_na);
|
||||
argstr = SvPV_nolen(argsv);
|
||||
|
||||
if (g_ascii_strcasecmp(argstr, "none") == 0)
|
||||
arg = EXPANDO_ARG_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue