diff options
author | Adam <Adam@anope.org> | 2010-08-17 22:19:36 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-17 22:19:36 -0400 |
commit | b180d5f975b3fd9a096a712adf9589c360831f72 (patch) | |
tree | 34952f6bb9d25653f43c90a9ca603214af4ca52c /modules/extra/db_mysql.cpp | |
parent | fa7684b3a3eea24ab72549aded6466eb0bede5fb (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/extra/db_mysql.cpp')
-rw-r--r-- | modules/extra/db_mysql.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp index 7bc48230f..27a1226d1 100644 --- a/modules/extra/db_mysql.cpp +++ b/modules/extra/db_mysql.cpp @@ -365,6 +365,8 @@ class DBMySQL : public Module { me = this; + this->SetType(DATABASE); + this->lastwarn = 0; this->ro = false; |