From: Perttu Ahola Date: Sat, 10 Mar 2012 13:49:38 +0000 (+0200) Subject: Ban and Auth managers use infostream rather than dstream X-Git-Tag: 0.4.dev-20120318~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c5e422d3a5fc3784d261a1effdb94a44b84a41c;p=oweals%2Fminetest.git Ban and Auth managers use infostream rather than dstream --- diff --git a/src/auth.cpp b/src/auth.cpp index 7326a6042..fce521e13 100644 --- a/src/auth.cpp +++ b/src/auth.cpp @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., //#include "main.h" // for g_settings #include #include "strfnd.h" -#include "debug.h" +#include "log.h" std::set privsToSet(u64 privs) { @@ -123,7 +123,7 @@ AuthManager::AuthManager(const std::string &authfilepath): } catch(SerializationError &e) { - dstream<<"WARNING: AuthManager: creating " + infostream<<"WARNING: AuthManager: creating " < #include #include "strfnd.h" -#include "debug.h" +#include "log.h" BanManager::BanManager(const std::string &banfilepath): m_banfilepath(banfilepath), @@ -35,7 +35,7 @@ BanManager::BanManager(const std::string &banfilepath): } catch(SerializationError &e) { - dstream<<"WARNING: BanManager: creating " + infostream<<"WARNING: BanManager: creating " <