aboutsummaryrefslogtreecommitdiff
path: root/modules/callerid.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-02-27 01:24:57 +0000
committerGravatar Sadie Powell2026-02-27 01:45:40 +0000
commitff18ee420e229a34b874a1a03ae302fdf60fe149 (patch)
tree8cabc848ea796dc03fd2e616588f1a451aad2106 /modules/callerid.cpp
parentMerge branch 'insp4' into master. (diff)
Implement support for per-command maximum targets.
Closes #2157.
Diffstat (limited to 'modules/callerid.cpp')
-rw-r--r--modules/callerid.cpp3
1 files changed, 2 insertions, 1 deletions
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 = { "*|(+|-)<nick>[,(+|-)<nick>]+" };
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 <maxtargets>), 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