summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index cbf75a5f9..c83082a44 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -397,7 +397,11 @@ void LocalPlayer::setGMLevel(int level)
mGMLevel = level;
if (level > 0)
+ {
setGM(true);
+ if (chatWindow)
+ chatWindow->loadGMCommands();
+ }
}