mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Added param CZNC* for GetAvailableMods()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@235 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -13,6 +13,7 @@ using std::string;
|
||||
#define MODCONSTRUCTOR(CLASS) CLASS(void *pDLL, CUser* pUser, const string& sModName) : CModule(pDLL, pUser, sModName)
|
||||
|
||||
// Forward Declarations
|
||||
class CZNC;
|
||||
class CUser;
|
||||
class CNick;
|
||||
class CChan;
|
||||
@@ -197,7 +198,7 @@ public:
|
||||
bool UnloadModule(const string& sModule, string& sRetMsg);
|
||||
bool ReloadModule(const string& sModule, const string& sArgs, CUser* pUser, string& sRetMsg);
|
||||
|
||||
static void GetAvailableMods(set<CModInfo>& ssMods);
|
||||
static void GetAvailableMods(set<CModInfo>& ssMods, CZNC* pZNC);
|
||||
};
|
||||
|
||||
#endif // !_MODULES_H
|
||||
|
||||
Reference in New Issue
Block a user