Skip to content

Commit aaf4661

Browse files
authored
runcode: fix srun outputting results for everyone (#304)
1 parent a3eed7e commit aaf4661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

[admin]/runcode/server.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ function runString (commandstring, outputTo, source)
4141
end
4242

4343
if #results > 1 then
44-
outputChatBoxR("Command results: " ..resultsString)
44+
outputChatBoxR("Command results: " ..resultsString, outputTo)
4545
return
4646
end
4747

48-
outputChatBoxR("Command executed!")
48+
outputChatBoxR("Command executed!", outputTo)
4949
end
5050

5151
-- run command

0 commit comments

Comments
 (0)