mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Remove GLOBALMODCONSTRUCTOR
MODCONSTRUCTOR does that job just fine (now). Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
GLOBALMODCONSTRUCTOR(CModPython) {
|
||||
MODCONSTRUCTOR(CModPython) {
|
||||
Py_Initialize();
|
||||
m_PyFormatException = NULL;
|
||||
m_PyZNCModule = NULL;
|
||||
|
||||
Reference in New Issue
Block a user