gameServer/CommandHelp.hs
changeset 13704 e6523fe53d11
parent 13701 d732ca5dcab9
child 13709 54eb4c774ef5
--- a/gameServer/CommandHelp.hs	Sat Aug 25 21:00:26 2018 +0200
+++ b/gameServer/CommandHelp.hs	Sat Aug 25 21:12:10 2018 +0200
@@ -16,7 +16,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  \-}
 
-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE CPP, OverloadedStrings #-}
 module CommandHelp where
 
 import qualified Data.ByteString.Char8 as B
@@ -33,7 +33,9 @@
     loc "/me <message>: Chat action, e.g. '/me eats pizza' becomes '* Player eats pizza'",
     loc "/rnd: Flip a virtual coin and reply with 'heads' or 'tails'",
     loc "/rnd [A] [B] [C] [...]: Reply with a random word from the given list",
+#if defined(OFFICIAL_SERVER)
     loc "/watch <id>: Watch a demo stored on the server with the given ID",
+#endif
     loc "/help: Show chat command help"
     ]