summaryrefslogtreecommitdiff
path: root/tntconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r--tntconfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tntconfig.cpp b/tntconfig.cpp
index ea6f9d0..60bfad2 100644
--- a/tntconfig.cpp
+++ b/tntconfig.cpp
@@ -35,10 +35,10 @@ void TntConfig::WriteConfig()
file << "MapUrl ^/$ whats_on_now@libtnt-live" << endl;
file << "MapUrl /([^.]+)(\\..+)? $1@libtnt-live" << endl;
file << "PropertyFile " << m_propertiesPath << endl;
- file << "CompPath " << Setup::Get().GetLibraryPath() << endl;
+ file << "CompPath " << LiveSetup().GetLibraryPath() << endl;
- Setup::IpList const& ips = Setup::Get().GetServerIps();
- int port = Setup::Get().GetServerPort();
+ Setup::IpList const& ips = LiveSetup().GetServerIps();
+ int port = LiveSetup().GetServerPort();
for ( Setup::IpList::const_iterator ip = ips.begin(); ip != ips.end(); ++ip ) {
file << "Listen " << *ip << " " << port << endl;
}