diff options
author | Pixel <pixel@nobis-crew.org> | 2009-03-23 11:01:26 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-03-23 11:01:26 -0700 |
commit | 09361034a6328acf530c9fa5bb7bb5b0b57bd574 (patch) | |
tree | 8dcd51adfb86cedff06e284630c016f176a40d3f | |
parent | 29b31f7584d80c9e4c500b76d72215e5c059446e (diff) |
Avoiding running the httpserver uselessly.
-rw-r--r-- | src/lua-interface.cpp | 3 |
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) { |