LKCamelot.io.IOClient.GMKick C# (CSharp) Method

GMKick() public method

public GMKick ( string str2 ) : void
str2 string
return void
        public void GMKick(string[] str2)
        {
            if (str2[1] != "")
            {
                var plr = handler.add.Where(xe => xe.Value != null && xe.Value.Name == str2[1].ToUpper()).FirstOrDefault().Value;
                plr.loggedIn = false;
                World.w_server.Disconnect(plr.client.connection);
            }
        }