Example #1
0
        void HandleGuildUpdateInfoText(GuildUpdateInfoText packet)
        {
            Guild guild = GetPlayer().GetGuild();

            if (guild)
            {
                guild.HandleSetInfo(this, packet.InfoText);
            }
        }
Example #2
0
        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);
            }
        }