void HandleGuildUpdateInfoText(GuildUpdateInfoText packet) { Guild guild = GetPlayer().GetGuild(); if (guild) { guild.HandleSetInfo(this, packet.InfoText); } }
void HandleGuildUpdateInfoText(GuildUpdateInfoText packet) { if (!DisallowHyperlinksAndMaybeKick(packet.InfoText)) { return; } if (packet.InfoText.Length > 500) { return; } Guild guild = GetPlayer().GetGuild(); if (guild) { guild.HandleSetInfo(this, packet.InfoText); } }