object OnClanMemberApply(Clan clan, PlayerSession session) { if (clan.GetMemebers().Count() >= _config.MaxPlayerInTeam) { int maxplayers = clan.GetMemebers().Count() + 1; SendChat(session, Msg("clanlimit", session.SteamId.ToString())); return(false); } return(null); }