From 09361034a6328acf530c9fa5bb7bb5b0b57bd574 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 23 Mar 2009 11:01:26 -0700 Subject: Avoiding running the httpserver uselessly. --- src/lua-interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua-interface.cpp') 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) { -- cgit v1.2.3