From 657526889f6a36d79e34ab77e25377fd46d8905c Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 12 Aug 2015 14:52:37 -0400 Subject: give priority to custom commands over built-in commands --- src/map/clif.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 33de3e6..726d45c 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -3830,11 +3830,11 @@ RecvResult clif_parse_GlobalMessage(Session *s, dumb_ptr sd) return rv; } - if (is_atcommand(s, sd, mbuf, GmLevel())) - return rv; - if (!magic_message(sd, mbuf)) { + if (is_atcommand(s, sd, mbuf, GmLevel())) + return rv; + /* Don't send chat that results in an automatic ban. */ if (tmw_CheckChatSpam(sd, mbuf)) { -- cgit v1.2.3-60-g2f50