summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-03-23 11:01:26 -0700
committerPixel <pixel@nobis-crew.org>2009-03-23 11:01:26 -0700
commit09361034a6328acf530c9fa5bb7bb5b0b57bd574 (patch)
tree8dcd51adfb86cedff06e284630c016f176a40d3f /src
parent29b31f7584d80c9e4c500b76d72215e5c059446e (diff)
Avoiding running the httpserver uselessly.
Diffstat (limited to 'src')
-rw-r--r--src/lua-interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 0765f4c..3387c00 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -889,7 +889,8 @@ virtual int startup() throw (GeneralException) {
if (mserver || hserver || tserver) {
TaskMan::Init();
- L->load(&Input(server_fname));
+ if (hserver)
+ L->load(&Input(server_fname));
}
if (hserver) {