mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
commit
b8c2915d79
10 changed files with 28 additions and 29 deletions
|
|
@ -83,7 +83,7 @@ static int perl_source_event(PERL_SOURCE_REC *rec)
|
|||
SPAGAIN;
|
||||
|
||||
if (SvTRUE(ERRSV)) {
|
||||
char *error = g_strdup(SvPV(ERRSV, PL_na));
|
||||
char *error = g_strdup(SvPV_nolen(ERRSV));
|
||||
signal_emit("script error", 2, rec->script, error);
|
||||
g_free(error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue