diff options
Diffstat (limited to 'lib/IRC.cc')
-rw-r--r-- | lib/IRC.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -199,7 +199,7 @@ bool IRC::Connect() { int IRC::Parse(const String & line) { if (line.extract(0, 3) == "PING") { sock << "PONG" << line.extract(4) << endhl; - cerr << "PING/PONG" << line.extract(4) << endhl; + std::cerr << "PING/PONG" << line.extract(4) << endhl; return 0; } @@ -213,14 +213,14 @@ void IRC::MainLoop() { while (true) { switch (loginsequence) { case 1: - cerr << "Trying the login sequence..." << endl; + std::cerr << "Trying the login sequence..." << std::endl; sock << "NICK " << nick << endhl; sock << "USER " << user << " 8 * :" << name << endhl; loginsequence = 0; } sock >> line; if ((code = Parse(line))) { - cerr << "Unparsable: " << line << endl; + std::cerr << "Unparsable: " << line << std::endl; } if (count == 20) { |