Lower warn logging on not having friends/group module on permissions to debug.

It's a valid configuration not to have these modules, but I think it's still worth logging the fact that certain permissions won't work (always return true)
0.7.3-extended
Justin Clark-Casey (justincc) 2012-06-20 01:33:25 +01:00
parent 553ac6335d
commit 8eb39eb3ac
1 changed files with 2 additions and 2 deletions

View File

@ -347,12 +347,12 @@ namespace OpenSim.Region.CoreModules.World.Permissions
m_friendsModule = m_scene.RequestModuleInterface<IFriendsModule>();
if (m_friendsModule == null)
m_log.Warn("[PERMISSIONS]: Friends module not found, friend permissions will not work");
m_log.Debug("[PERMISSIONS]: Friends module not found, friend permissions will not work");
m_groupsModule = m_scene.RequestModuleInterface<IGroupsModule>();
if (m_groupsModule == null)
m_log.Warn("[PERMISSIONS]: Groups module not found, group permissions will not work");
m_log.Debug("[PERMISSIONS]: Groups module not found, group permissions will not work");
m_moapModule = m_scene.RequestModuleInterface<IMoapModule>();