diff options
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"); |