ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTUnForbidTalk.py
@@ -40,13 +40,7 @@
    if not curFindPlayer or curFindPlayer.IsEmpty():
        return ''
    #===========================================================================
    # accState = curFindPlayer.GetAccState()
    # if (accState & pow(2, ChConfig.Def_PysForbidTalk)) > 0:
    #    curFindPlayer.SetAccState(accState ^ pow(2, ChConfig.Def_PysForbidTalk))
    #===========================================================================
    unForbidDevice = packCMDList[0] if len(packCMDList) > 0 else ""
    curFindName = curFindPlayer.GetPlayerName()
    #流向
    DataRecordPack.DR_ToolGMOperate(query_ID, curFindName, curFindPlayer.GetAccID(), 'GMTUnForbidTalk')
@@ -60,6 +54,8 @@
            curFindPlayer_GMOper.Sync_SaveToDB()
            break
    
    if unForbidDevice:
        PlayerControl.SetGMForbidenTalk(curFindPlayer, 3)
    PlayerControl.SetGMForbidenTalk(curFindPlayer, 0)
    #PlayerControl.NotifyCode(curFindPlayer, "GeRen_liubo_97211")
    return ''