diff options
author | Adam <Adam@anope.org> | 2011-04-27 10:56:20 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:09:07 -0400 |
commit | 284af258bf3c4dc7f409722d66bb0ac59e01e37d (patch) | |
tree | 5649a27a7a247c2609a4ef13b52a357765cbdfcc /modules/extra/cs_set_misc.cpp | |
parent | e7887c1f013248274574ab8e3167f742ccb3d69b (diff) |
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
Diffstat (limited to 'modules/extra/cs_set_misc.cpp')
-rw-r--r-- | modules/extra/cs_set_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/cs_set_misc.cpp b/modules/extra/cs_set_misc.cpp index 4bd7a772a..f71363795 100644 --- a/modules/extra/cs_set_misc.cpp +++ b/modules/extra/cs_set_misc.cpp @@ -75,7 +75,7 @@ class CSSetMisc : public Module void RemoveAll() { - if (Commands.empty()) + if (!chanserv || Commands.empty()) return; Command *set = FindCommand(chanserv->Bot(), "SET"); |