summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-06-03 15:13:44 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-03 15:16:45 -0600
commit18c1842f1e566390b4d93c94628db49c4895c881 (patch)
tree2f5e6a153e1a84cad4aa2193a30440f9922663c2 /src/gui/serverdialog.cpp
parent27bd3d3b5181b6192eb094a865e1821883d73eb4 (diff)
downloadmana-18c1842f1e566390b4d93c94628db49c4895c881.tar.gz
mana-18c1842f1e566390b4d93c94628db49c4895c881.tar.bz2
mana-18c1842f1e566390b4d93c94628db49c4895c881.tar.xz
mana-18c1842f1e566390b4d93c94628db49c4895c881.zip
Cleanup some logging statements
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 3fdbd583..f0688d6a 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -528,7 +528,7 @@ void ServerDialog::loadServers()
// Ignore unknown server types
if (server.type == ServerInfo::UNKNOWN)
{
- logger->log("Ignoring server entry with unknown type: %s\n",
+ logger->log("Ignoring server entry with unknown type: %s",
type.c_str());
continue;
}
@@ -547,12 +547,6 @@ void ServerDialog::loadServers()
else
version = strprintf(_("requires v%s"), version.c_str());
- if (server.type == ServerInfo::UNKNOWN)
- {
- logger->log("Unknown server type: %s", type.c_str());
- continue;
- }
-
for_each_xml_child_node(subNode, serverNode)
{
if (xmlStrEqual(subNode->name, BAD_CAST "connection"))