Commit 2b95af59 authored by Dave Cridland's avatar Dave Cridland

Merge pull request #435 from tevans/master

Fix NPE when accessing AuditManager module
parents 26b1437b 61cb6e0a
......@@ -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