Example #1
0
        public Channel(string uiName, string channelName, bool persistent, string password, Connection connection)
        {
            UIName          = uiName;
            ChannelName     = channelName.ToLowerInvariant();
            Persistent      = persistent;
            Password        = password;
            this.connection = connection;

            if (persistent)
            {
                notifyOnUserListChange = UserINISettings.Instance.NotifyOnUserListChange;
                UserINISettings.Instance.SettingsSaved += Instance_SettingsSaved;
            }
        }