From ebdaf368e137fc933e648ee88a08a4f83e796f87 Mon Sep 17 00:00:00 2001 From: ChrisTX Date: Sun, 14 Oct 2012 02:13:49 +0200 Subject: Replace printf(_c) with iostream --- src/configreader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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 #ifdef _WIN32 #include #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()); -- cgit v1.2.3