Ejemplo n.º 1
0
        void HandleGuildUpdateInfoText(GuildUpdateInfoText packet)
        {
            Guild guild = GetPlayer().GetGuild();

            if (guild)
            {
                guild.HandleSetInfo(this, packet.InfoText);
            }
        }
Ejemplo n.º 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);
            }
        }