Exemplo n.º 1
0
 private void TCPErrorHandler(Combot.IRCServices.TCP.TCPError error, string server)
 {
     AddToBuffer(server, null, string.Format("[{0}] \u0002TCP Error {1}\u0002: {2}", DateTime.Now.ToString("HH:mm:ss"), error.Code, error.Message));
 }
Exemplo n.º 2
0
        private static void TCPErrorHandler(Combot.IRCServices.TCP.TCPError error, string server)
        {
            string message = string.Format("[{0}] [{1}] \u0002TCP Error {2}\u0002: {3}", DateTime.Now.ToString("HH:mm:ss"), server, error.Code, error.Message);

            Console.WriteLine(message);
        }