Esempio n. 1
0
        // -------- Functions --------

        /// <summary>
        /// Loads the IRC config from the given XML path.
        /// </summary>
        /// <param name="xmlFilePath">The path to the IRC config XML.</param>
        public void InitState1_LoadIrcConfig(string xmlFilePath)
        {
            this.ircConfig     = XmlLoader.ParseIrcConfig(xmlFilePath);
            this.sourceCommand = "[!@]" + this.ircConfig.Nick + @":?\s+source\s+(?<pluginName>\w+)";
        }