mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +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:
@@ -71,3 +71,4 @@ void OnClientCapRequest(CClient* pClient, const CString& sCap, bool bState)
|
||||
EModRet OnModuleLoading(const CString& sModName, const CString& sArgs, CModInfo::EModuleType eType, bool& bSuccess, CString& sRetMsg)
|
||||
EModRet OnModuleUnloading(CModule* pModule, bool& bSuccess, CString& sRetMsg)
|
||||
EModRet OnGetModInfo(CModInfo& ModInfo, const CString& sModule, bool& bSuccess, CString& sRetMsg)
|
||||
void OnGetAvailableMods(std::set<CModInfo>& ssMods, CModInfo::EModuleType eType)
|
||||
|
||||
Reference in New Issue
Block a user