Beispiel #1
0
        private void sendLatestMsgLog()
        {
            if ((bool)ServerConfigManager.MyConfigs["PullMsgLogAllowed"])
            {
                if (CurrClient.UserID != "")
                {
                    string[] msgLog = CurrServerDB.getLatestMsgLog();

                    CurrClient.Send((int)ServerCommand.sendLatestMsgLog, this.ConvertToString(msgLog));
                }
                else
                {
                    CurrClient.Send((int)ServerCommand.NotLoggedIn);
                }
            }
            else
            {
                CurrClient.Send((int)ServerCommand.MsgLogRestricted);
            }
        }