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.
This commit is contained in:
Patrick Griffis 2020-09-21 11:22:50 -07:00
parent 453cb7ca79
commit 7a275812c0
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
#include <hexchat-plugin.h>
#define WORD_ARRAY_LEN 48
#define WORD_ARRAY_LEN 32
static char plugin_name[] = "Lua";
static char plugin_description[] = "Lua scripting interface";

View File

@ -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[])

View File

@ -75,7 +75,7 @@
#define DOMAINLEN 100
#define NICKLEN 64 /* including the NULL, so 63 really */
#define CHANLEN 300
#define PDIWORDS 48
#define PDIWORDS 32
#define USERNAMELEN 10
#define HIDDEN_CHAR 8 /* invisible character for xtext */