1
0
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:
Emmanuel Bouthenot
2007-03-09 15:46:08 +00:00
parent cfd2f57dd1
commit 063744ef7d
8 changed files with 54 additions and 64 deletions
+1 -1
View File
@@ -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 "