summaryrefslogtreecommitdiffstats
path: root/source/WebAdmin.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 17:03:56 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-16 17:03:56 +0100
commitb65a22fc1f0e5e95be234d6d94388091f74704a9 (patch)
tree0227c64f4eb43a15961d55f712099a643642864b /source/WebAdmin.cpp
parentRemoved log message when spawning players on a client. (diff)
downloadcuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.gz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.bz2
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.lz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.xz
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.tar.zst
cuberite-b65a22fc1f0e5e95be234d6d94388091f74704a9.zip
Diffstat (limited to 'source/WebAdmin.cpp')
-rw-r--r--source/WebAdmin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/WebAdmin.cpp b/source/WebAdmin.cpp
index 7543f409b..f78e5b82a 100644
--- a/source/WebAdmin.cpp
+++ b/source/WebAdmin.cpp
@@ -196,7 +196,7 @@ void cWebAdmin::Request_Handler(webserver::http_request* r)
cWebPlugin* WebPlugin = *itr;
FoundPlugin = WebPlugin->GetName();
AString TabName = WebPlugin->GetTabNameForRequest( &Request ).first;
- if( TabName.empty() == false )
+ if (!TabName.empty())
{
FoundPlugin += " - " + TabName;
}
@@ -239,7 +239,7 @@ void cWebAdmin::Request_Handler(webserver::http_request* r)
- if (bDontShowTemplate == false && Split.size() > 1)
+ if (!bDontShowTemplate && (Split.size() > 1))
{
Content += "\n<p><a href='" + BaseURL + "'>Go back</a></p>";
}