File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -990,7 +990,7 @@ core.register_chatcommand("clearobjects", {
990
990
991
991
core .register_chatcommand (" msg" , {
992
992
params = " <name> <message>" ,
993
- description = " Send a private message" ,
993
+ description = " Send a direct message to a player " ,
994
994
privs = {shout = true },
995
995
func = function (name , param )
996
996
local sendto , message = param :match (" ^(%S+)%s(.+)$" )
@@ -1001,9 +1001,9 @@ core.register_chatcommand("msg", {
1001
1001
return false , " The player " .. sendto
1002
1002
.. " is not online."
1003
1003
end
1004
- core .log (" action" , " PM from " .. name .. " to " .. sendto
1004
+ core .log (" action" , " DM from " .. name .. " to " .. sendto
1005
1005
.. " : " .. message )
1006
- core .chat_send_player (sendto , " PM from " .. name .. " : "
1006
+ core .chat_send_player (sendto , " DM from " .. name .. " : "
1007
1007
.. message )
1008
1008
return true , " Message sent."
1009
1009
end ,
You can’t perform that action at this time.
0 commit comments