From 0c2f7c40cce8588f55ece592a1dafa22d30d9fb8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 17 一月 2019 02:25:30 +0800
Subject: [PATCH] 5722 【后端】【1.5】跨服BOSS开发(增加PK状态下不可进入跨服及提示)

---
 ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py b/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py
index 8d0621f..40bc7a3 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py
@@ -215,7 +215,7 @@
 #  @param option: 配置项名
 #  @return
 #  @remarks \db\PyMongoDataServer\PyMongoDataServer.ini配置读取
-def GetPyMongoConfig(section, option):
+def GetPyMongoConfig(section, option, raw=False):
     global PyMongoDataServerConfig
     
     if not PyMongoDataServerConfig:
@@ -233,7 +233,7 @@
         GameWorld.ErrLog("PyMongoDataServer.ini找不到配置: section=%s,option=%s" % (section, option))
         return ""
     
-    strParam = PyMongoDataServerConfig.get(section, option)
+    strParam = PyMongoDataServerConfig.get(section, option, raw)
     return strParam
 
 def GetDBConfig(key): return __DoLogic_GetDBConfig(key)

--
Gitblit v1.8.0