mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
Fixed crash with "register" function in plugin scripts (bug #16701)
This commit is contained in:
@@ -247,6 +247,8 @@ static XS (XS_weechat_register)
|
||||
/* make gcc happy */
|
||||
(void) items;
|
||||
(void) cv;
|
||||
|
||||
perl_current_script = NULL;
|
||||
|
||||
if (items != 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user