mirror of
https://github.com/znc/znc.git
synced 2026-06-30 15:01:54 +02:00
Support OnGetAvailableMods in python. #98
Currently this needs patched SWIG. Upstream version crashes ZNC. Hopefully they'll apply my patches upstream soon... As for now, working modpython tarball is available at http://people.znc.in/~darthgandalf/znc/modpython/
This commit is contained in:
@@ -122,6 +122,7 @@ public:
|
||||
virtual EModRet OnModuleUnloading(CModule* pModule, bool& bSuccess, CString& sRetMsg);
|
||||
virtual EModRet OnGetModInfo(CModInfo& ModInfo, const CString& sModule,
|
||||
bool& bSuccess, CString& sRetMsg);
|
||||
virtual void OnGetAvailableMods(std::set<CModInfo>& ssMods, CModInfo::EModuleType eType);
|
||||
};
|
||||
|
||||
static inline CPyModule* AsPyModule(CModule* p) {
|
||||
|
||||
Reference in New Issue
Block a user