Remove GLOBALMODCONSTRUCTOR
MODCONSTRUCTOR does that job just fine (now). Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
1 parent
c2cc57cbf4
commit
80c76c97a6
19 files changed
+20
-39
No files matched your search
@@ -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