From c6dd75ccfb75fcdafc38b63ef1906369c4873948 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 03:43:20 +0200 Subject: Add usermods/ to mod search paths and print out the paths at server startup --- src/server.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/server.cpp b/src/server.cpp index 032b57e3c..873198d1e 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -875,16 +875,24 @@ Server::Server( JMutexAutoLock envlock(m_env_mutex); JMutexAutoLock conlock(m_con_mutex); - infostream<<"m_nodedef="<::Iterator i = m_modspaths.begin(); + i != m_modspaths.end(); i++){ + std::string modspath = *i; + infostream<<" "<