IrcD.Server.Settings.LoadOper C# (CSharp) Method

LoadOper() private method

private LoadOper ( ) : void
return void
        private void LoadOper()
        {
            foreach (var oper in _configFile.Descendants("oper"))
            {
                if (!string.IsNullOrEmpty(oper.Element("user")?.Value) && !string.IsNullOrEmpty(oper.Element("pass")?.Value))
                {
                    _ircDaemon.Options.OLine.Add(oper.Element("user")?.Value, oper.Element("pass")?.Value);
                }
            }
        }