summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-13 20:29:36 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-13 20:29:36 +0000
commit63732f37cba3d493954154c0f2440ddc88d7f207 (patch)
tree5ca2c614d648cd768a319d7a1ebbdb3918c407ed /src/modules/extra
parenta45254ff4c15ca23b03bb2dbd52a6cd3b30c2662 (diff)
Handle database not present a bit better, add missing MySQL rehash on init
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12634 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 88c98a5e7..b4d7cd7c6 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -376,6 +376,8 @@ void ModuleSQL::init()
Implementation eventlist[] = { I_OnRehash, I_OnUnloadModule };
ServerInstance->Modules->Attach(eventlist, this, 2);
+
+ OnRehash(NULL);
}
ModuleSQL::~ModuleSQL()