diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-10-14 01:26:03 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-10-14 01:36:48 -0400 |
commit | 96cc5b34fe0151d2a1498eaaafb205757db346c4 (patch) | |
tree | e612a2d78086427cc5f555b82c597dcf9dd13b74 /src/mods.cpp | |
parent | 2139d7d45fb1a8ed250ad96c9975c581f02f72a9 (diff) | |
download | minetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.tar.gz minetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.tar.bz2 minetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.zip |
Use warningstream for log messages with WARNING
Remove DTIME macro and its uses, too
Diffstat (limited to 'src/mods.cpp')
-rw-r--r-- | src/mods.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mods.cpp b/src/mods.cpp index a81dd4604..90e0816d9 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -256,7 +256,7 @@ void ModConfiguration::addMods(std::vector<ModSpec> new_mods) // BAD CASE: name conflict in different levels. u32 oldindex = existing_mods[mod.name]; const ModSpec &oldmod = m_unsatisfied_mods[oldindex]; - actionstream<<"WARNING: Mod name conflict detected: \"" + warningstream<<"Mod name conflict detected: \"" <<mod.name<<"\""<<std::endl <<"Will not load: "<<oldmod.path<<std::endl <<"Overridden by: "<<mod.path<<std::endl; @@ -270,7 +270,7 @@ void ModConfiguration::addMods(std::vector<ModSpec> new_mods) // VERY BAD CASE: name conflict in the same level. u32 oldindex = existing_mods[mod.name]; const ModSpec &oldmod = m_unsatisfied_mods[oldindex]; - errorstream<<"WARNING: Mod name conflict detected: \"" + warningstream<<"Mod name conflict detected: \"" <<mod.name<<"\""<<std::endl <<"Will not load: "<<oldmod.path<<std::endl <<"Will not load: "<<mod.path<<std::endl; |