summaryrefslogtreecommitdiff
path: root/npc/commands/wgm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/wgm.txt')
-rw-r--r--npc/commands/wgm.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/npc/commands/wgm.txt b/npc/commands/wgm.txt
index d24841546..cbaa95b86 100644
--- a/npc/commands/wgm.txt
+++ b/npc/commands/wgm.txt
@@ -14,9 +14,7 @@
OnCall:
.@request$ = strcharinfo(0)+": ";
- for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) {
- .@request$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i];
- }
+ .@request$ += implode(.@atcmd_parameters$, " ");
atcommand("@request "+.@request$);
end;