/// <summary> /// This deals with incoming requests to add this server to their map. /// This refuses or successfully allows the foreign server to interact with /// this region. /// </summary> /// <param name="request"></param> /// <returns></returns> private byte[] NewConnection(Dictionary <string, object> request) { Dictionary <string, object> result = new Dictionary <string, object>(); if (result["Password"].ToString() != CRBS.OurGetPassword) { result["result"] = "WrongPassword"; } else { result["result"] = "Successful"; result = CRBS.PackBans(result); } return(Return(result)); }