From ba274054838d6ce961ddc15073c8e83e5278c0c0 Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 12 Dec 2007 20:57:47 +0000 Subject: [PATCH] Make webadmin use the GLOBALMODCONSTRUCTOR macro Why didn't it do this already anyway? git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@900 726aef4b-f618-498e-8847-2d620e286838 --- modules/webadmin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index e53d701c..c1b0cdb6 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -104,7 +104,7 @@ protected: class CWebAdminMod : public CGlobalModule { public: - CWebAdminMod(void *pDLL, const CString& sModName) : CGlobalModule(pDLL, sModName) { + GLOBALMODCONSTRUCTOR(CWebAdminMod) { m_uPort = 8080; m_sSkinName = GetNV("SkinName"); }