summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2020-09-21 11:22:50 -0700
committerPatrick Griffis <tingping@tingping.se>2020-09-21 11:22:50 -0700
commit7a275812c0002fe10db5c60e29a34ba6ce4cede1 (patch)
tree74de7d00fc08c8f3947d05fd2edbd2484468f1b1 /plugins
parent453cb7ca79ace05f53667e523dc534bdeb7ddee0 (diff)
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lua/lua.c2
-rw-r--r--plugins/perl/perl.c2
2 files changed, 2 insertions, 2 deletions
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 <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";
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[])