Example #1
0
        /// <summary>
        /// Adds a host to the list of detected newbie hosts.
        /// </summary>
        /// <param name="host">The host.</param>
        /// <param name="except">Add to exemption list instead </param>
        public void addHost(string host, bool except = false)
        {
            if (except)
            {
                _ignoredNicknames.Add(host);
            }
            else
            {
                _hostNames.Add(host);
            }

            saveHostnames();
        }