mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 01:03:14 +02:00
make arguments for function get_buffer_data() mandatory in plugins/scripts
This commit is contained in:
@@ -1843,7 +1843,7 @@ static XS (XS_weechat_get_buffer_data)
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
|
||||
if (items > 2)
|
||||
if (items != 2)
|
||||
{
|
||||
perl_plugin->print_server (perl_plugin,
|
||||
"Perl error: wrong parameters for "
|
||||
|
||||
Reference in New Issue
Block a user