summaryrefslogtreecommitdiff
path: root/lib/IRC.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IRC.cc')
-rw-r--r--lib/IRC.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/IRC.cc b/lib/IRC.cc
index 203a0bd..1d0aa75 100644
--- a/lib/IRC.cc
+++ b/lib/IRC.cc
@@ -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) {