mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Remove broken code that prevents unloading of a script in some cases.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4473 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
47117f1f5f
commit
b8380772e2
1 changed files with 0 additions and 4 deletions
|
|
@ -248,11 +248,7 @@ static int perl_script_eval(PERL_SCRIPT_REC *script)
|
|||
g_free(error);
|
||||
}
|
||||
} else if (retcount > 0) {
|
||||
/* if script returns 0, it means the script wanted to die
|
||||
immediately without any error message */
|
||||
ret = POPs;
|
||||
if (ret != &PL_sv_undef && SvIOK(ret) && SvIV(ret) == 0)
|
||||
error = "";
|
||||
}
|
||||
|
||||
PUTBACK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue