mirror of
https://github.com/anope/anope.git
synced 2026-06-29 08:16:39 +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:
@@ -75,7 +75,7 @@ class CSSetMisc : public Module
|
||||
|
||||
void RemoveAll()
|
||||
{
|
||||
if (Commands.empty())
|
||||
if (!chanserv || Commands.empty())
|
||||
return;
|
||||
|
||||
Command *set = FindCommand(chanserv->Bot(), "SET");
|
||||
|
||||
Reference in New Issue
Block a user