Permalink
Browse files

Change MultiTargetFilter to a typeset that allows ArrayList as its se…

…cond argument. (#955)
  • Loading branch information...
powerlord authored and Headline committed Feb 3, 2019
1 parent c501c83 commit 45fb26d28262c0d3a2fea46bc6ce557ec730f471
Showing with 4 additions and 1 deletion.
  1. +4 −1 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().

0 comments on commit 45fb26d

Please sign in to comment.