diff --git a/gamemode/modules/fadmin/fadmin/motd/sv_init.lua b/gamemode/modules/fadmin/fadmin/motd/sv_init.lua index c1c962201..200adc7d3 100644 --- a/gamemode/modules/fadmin/fadmin/motd/sv_init.lua +++ b/gamemode/modules/fadmin/fadmin/motd/sv_init.lua @@ -70,7 +70,7 @@ function FAdmin.MOTD.SetMOTDPage(ply, cmd, args) return false end if ply:EntIndex() ~= 0 and (not ply.IsSuperAdmin or not ply:IsSuperAdmin()) then FAdmin.Messages.SendMessage(ply, 5, "No access!") return false end - game.ConsoleCommand("_FAdmin_MOTDPage \"" .. args[1] .. "\"\n") + RunConsoleCommand("_FAdmin_MOTDPage", args[1]) file.Write("FAdmin/CurMOTDPage.txt", args[1]) return true, args[1]