summaryrefslogtreecommitdiffstats
path: root/source/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Server.h')
-rw-r--r--source/Server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Server.h b/source/Server.h
index 8d21e7834..a93ee454a 100644
--- a/source/Server.h
+++ b/source/Server.h
@@ -21,6 +21,7 @@
class cPlayer;
class cClientHandle;
+class cIniFile;
typedef std::list<cClientHandle *> cClientHandleList;
@@ -33,7 +34,7 @@ class cServer //tolua_export
public: //tolua_export
static cServer * GetServer(); //tolua_export
- bool InitServer( int a_Port = 25565 );
+ bool InitServer(cIniFile & a_SettingsIni);
int GetPort() { return m_iServerPort; }
bool IsConnected(){return m_bIsConnected;} // returns connection status