Commit 61cb6e0a authored by Tom Evans's avatar Tom Evans

Fix NPE when accessing AuditManager module

Not sure when this got changed, but the module loader uses the interface
class name as a key, not the implementation class name.
parent 5803bde4
......@@ -1216,7 +1216,7 @@ public class XMPPServer {
* @return the <code>AuditManager</code> registered with this server.
*/
public AuditManager getAuditManager() {
return (AuditManager) modules.get(AuditManagerImpl.class.getName());
return (AuditManager) modules.get(AuditManager.class.getName());
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment