summaryrefslogtreecommitdiff
path: root/npc/commands/motd.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-07-21 16:16:00 -0400
committergumi <mekolat@users.noreply.github.com>2017-07-21 16:16:00 -0400
commit4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89 (patch)
treec0dfa194d7de59e24ad4d0d9841f41ee66a9485d /npc/commands/motd.txt
parente3b63461ab6e3564e975da56793b5d2fa8064300 (diff)
downloadserverdata-4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89.tar.gz
serverdata-4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89.tar.bz2
serverdata-4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89.tar.xz
serverdata-4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89.zip
refine permissions for custom commandss20170725
Diffstat (limited to 'npc/commands/motd.txt')
-rw-r--r--npc/commands/motd.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index 0e2f5134..9a9c702e 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -165,6 +165,11 @@ function script MOTDConfig {
end;
OnCall:
+ if (!is_dev())
+ {
+ end;
+ }
+
MOTDConfig;
closedialog;
end;
@@ -184,5 +189,5 @@ OnInit:
MOTD_debug_text;
.size = getarraysize($MOTD_Messages$);
.dsize = getarraysize($@Debug_Messages$);
- bindatcmd "motd", "@motd::OnCall", 3, 99, 0;
+ bindatcmd "motd", "@motd::OnCall", 0, 99, 0;
}