about summary refs log tree commit diff
path: root/src/game/server/gamecontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gamecontext.cpp')
-rw-r--r--src/game/server/gamecontext.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp
index 0c564928..e28b944d 100644
--- a/src/game/server/gamecontext.cpp
+++ b/src/game/server/gamecontext.cpp
@@ -878,7 +878,11 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
 					str_format(aBuf, sizeof(aBuf), "If there are less than %d players, the round does not end and all players are released instead.", g_Config.m_SvLastStandingPlayers);
 					SendChatTarget(ClientID, aBuf);
 				}
+#if defined(CONF_SQL)
 				SendChatTarget(ClientID, "Commands list: top5, rank, help, victims, kills, w, whisper, c, converse");
+#else
+				SendChatTarget(ClientID, "Commands list: help, victims, kills, w, whisper, c, converse");
+#endif
 			}
 
 #if defined(CONF_SQL)
@@ -909,8 +913,10 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
 #endif
 			else if(!str_comp_nocase("help", pMsg->m_pMessage + 1))
 			{
+#if defined(CONF_SQL)
 				SendChatTarget(ClientID, "/rank <name> or /rank - show position in ranking.");
 				SendChatTarget(ClientID, "/top5 or /top5 <number> - Top5 winners on server.");
+#endif
 				SendChatTarget(ClientID, "/victims - who is waiting for your death");
 				SendChatTarget(ClientID, "/kills -  list of players you killed");
 				SendChatTarget(ClientID, "/whisper <name> <msg>");