private void Session_SelfNickChanged(object sender, IrcNickEventArgs e)
        {
            if (this.IsServer || this.IsChannel)
            {
                this.Write("Nick", string.Format("You are now known as {0}", e.NewNickname));
            }
            this.SetTitle();

            if (this.IsChannel)
            {
                _nickList.ChangeNick(e.OldNickname, e.NewNickname);
            }
        }
        private void Session_NickChanged(object sender, IrcNickEventArgs e)
        {
            bool isIgnored = App.IsIgnoreMatch(e.Message.From, IgnoreActions.NickChange);

            if (this.IsChannel && _nickList.Contains(e.OldNickname))
            {
                if (!isIgnored)
                {
                    this.Write("Nick", string.Format("{0} is now known as {1}", e.OldNickname, e.NewNickname));
                }
                _nickList.ChangeNick(e.OldNickname, e.NewNickname);
            }
        }