mirror of
https://github.com/anope/anope.git
synced 2026-07-01 16:46:38 +02:00
Added more useful functions to our LDAP API, allow adding newly registered accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
This commit is contained in:
@@ -78,7 +78,7 @@ class NSSetMisc : public Module
|
||||
|
||||
void RemoveAll()
|
||||
{
|
||||
if (Commands.empty())
|
||||
if (!nickserv || Commands.empty())
|
||||
return;
|
||||
|
||||
Command *set = FindCommand(nickserv->Bot(), "SET");
|
||||
|
||||
Reference in New Issue
Block a user