From 7a275812c0002fe10db5c60e29a34ba6ce4cede1 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 21 Sep 2020 11:22:50 -0700 Subject: Revert word array length change It turns out that the rfc sets a limit of 15 arguments and the server (irccloud) sending that many in ISUPPORT was updated to split it into multiple lines. --- plugins/lua/lua.c | 2 +- plugins/perl/perl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c index 8d6b730e..d73fbb23 100644 --- a/plugins/lua/lua.c +++ b/plugins/lua/lua.c @@ -35,7 +35,7 @@ #include -#define WORD_ARRAY_LEN 48 +#define WORD_ARRAY_LEN 32 static char plugin_name[] = "Lua"; static char plugin_description[] = "Lua scripting interface"; diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c index cb563b38..6f30400c 100644 --- a/plugins/perl/perl.c +++ b/plugins/perl/perl.c @@ -283,7 +283,7 @@ list_item_to_sv ( hexchat_list *list, const char *const *fields ) return sv_2mortal (newRV_noinc ((SV *) hash)); } -#define WORD_ARRAY_LEN 48 +#define WORD_ARRAY_LEN 32 static AV * array2av (char *array[]) -- cgit 1.4.1