From ff18ee420e229a34b874a1a03ae302fdf60fe149 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Feb 2026 01:24:57 +0000 Subject: Implement support for per-command maximum targets. Closes #2157. --- modules/callerid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/callerid.cpp') diff --git a/modules/callerid.cpp b/modules/callerid.cpp index 6efb37469..4e860baba 100644 --- a/modules/callerid.cpp +++ b/modules/callerid.cpp @@ -191,6 +191,7 @@ public: : Command(Creator, "ACCEPT", 1) , extInfo(Creator) { + accepts_multiple_targets = true; syntax = { "*|(+|-)[,(+|-)]+" }; translation = { TR_CUSTOM }; } @@ -209,7 +210,7 @@ public: parameter = (action.second ? "" : "-") + action.first->uuid; } - /** Will take any number of nicks (up to MaxTargets), which can be separated by commas. + /** Will take any number of nicks (up to ), which can be separated by commas. * - in front of any nick removes, and an * lists. This effectively means you can do: * /accept nick1,nick2,nick3,* * to add 3 nicks and then show your list -- cgit v1.3.1-10-gc9f91