From 45fb26d28262c0d3a2fea46bc6ce557ec730f471 Mon Sep 17 00:00:00 2001 From: Ross Bemrose Date: Sun, 3 Feb 2019 16:27:26 -0500 Subject: [PATCH] Change MultiTargetFilter to a typeset that allows ArrayList as its second argument. (#955) --- plugins/include/commandfilters.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/include/commandfilters.inc b/plugins/include/commandfilters.inc index 67e1e5c7..ccff8afb 100644 --- a/plugins/include/commandfilters.inc +++ b/plugins/include/commandfilters.inc @@ -139,7 +139,10 @@ stock void ReplyToTargetError(int client, int reason) * @param clients Array to fill with unique, valid client indexes. * @return True if pattern was recognized, false otherwise. */ -typedef MultiTargetFilter = function bool (const char[] pattern, Handle clients); +typeset MultiTargetFilter { + function bool (const char[] pattern, Handle clients); + function bool (const char[] pattern, ArrayList clients); +} /** * Adds a multi-target filter function for ProcessTargetString().