fCraft.IRC.IrcThread.Start C# (CSharp) Method

Start() public method

public Start ( bool parseInput ) : bool
parseInput bool
return bool
            public bool Start(bool parseInput) {
                ResponsibleForInputParsing = parseInput;
                try {
                    // start the machinery!
                    thread = new Thread(IoThread) {
                        Name = "fCraft.IRC",
                        IsBackground = true,
                        CurrentCulture = new CultureInfo("en-US")
                    };
                    thread.Start();
                    return true;
                } catch (Exception ex) {
                    Logger.Log(LogType.Error,
                               "IRC: Could not start the bot: {0}",
                               ex);
                    return false;
                }
            }