diff options
author | ChrisTX <chris@rev-crew.info> | 2012-10-14 02:13:49 +0200 |
---|---|---|
committer | ChrisTX <chris@rev-crew.info> | 2012-10-14 02:13:49 +0200 |
commit | ebdaf368e137fc933e648ee88a08a4f83e796f87 (patch) | |
tree | 72c7969e860704c99fc2fbe8537a248fa71f9e7e /src/configreader.cpp | |
parent | 272208502c426f5bb6abdb13b8986b686afbb904 (diff) |
Replace printf(_c) with iostream
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 660df77d7..82f4d7c43 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -28,6 +28,7 @@ #include "exitcodes.h" #include "commands/cmd_whowas.h" #include "configparser.h" +#include <iostream> #ifdef _WIN32 #include <Iphlpapi.h> #pragma comment(lib, "Iphlpapi.lib") @@ -750,7 +751,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) continue; // On startup, print out to console (still attached at this point) if (!old) - printf("%s\n", line.c_str()); + std::cout << line << std::endl; // If a user is rehashing, tell them directly if (user) user->SendText(":%s NOTICE %s :*** %s", ServerInstance->Config->ServerName.c_str(), user->nick.c_str(), line.c_str()); |