From 63732f37cba3d493954154c0f2440ddc88d7f207 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 13 Mar 2010 20:29:36 +0000 Subject: 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 --- src/modules/extra/m_mysql.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/extra') 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() -- cgit v1.2.3