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:
@@ -25,7 +25,7 @@ class CPyModule : public CModule {
|
||||
public:
|
||||
CPyModule(const CString& sModName, const CString& sDataPath,
|
||||
PyObject* pyObj, CModule* pModPython)
|
||||
: CModule(NULL, sModName, sDataPath) {
|
||||
: CModule(NULL, NULL, sModName, sDataPath) {
|
||||
m_pyObj = pyObj;
|
||||
Py_INCREF(pyObj);
|
||||
m_pModPython = reinterpret_cast<CModPython*>(pModPython);
|
||||
|
||||
Reference in New Issue
Block a user