summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-17 22:19:36 -0400
committerAdam <Adam@anope.org>2010-08-17 22:19:36 -0400
commitb180d5f975b3fd9a096a712adf9589c360831f72 (patch)
tree34952f6bb9d25653f43c90a9ca603214af4ca52c /modules/core
parentfa7684b3a3eea24ab72549aded6466eb0bede5fb (diff)
Always unload socketengines/database/protocl etc modules last, and fixed a potential crash in m_mysql when unloading when not in GDB
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/os_modlist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/core/os_modlist.cpp b/modules/core/os_modlist.cpp
index bdd7d3f19..58cd2d6c6 100644
--- a/modules/core/os_modlist.cpp
+++ b/modules/core/os_modlist.cpp
@@ -193,6 +193,8 @@ class CommandOSModList : public Command
++count;
}
break;
+ default:
+ break;
}
}
if (!count)