summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r--src/map/clif.cpp6
1 files 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<map_session_data> 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))
{