mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message - give a message when client doesnt supply a password when connecting - some minor cleanup git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -51,7 +51,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool OnLoad(const CString& sArgs) {
|
||||
virtual bool OnLoad(const CString& sArgs, CString& sErrorMsg) {
|
||||
const map<CString, CUser*>& msUsers = CZNC::Get().GetUserMap();
|
||||
|
||||
for (map<CString, CUser*>::const_iterator it = msUsers.begin(); it != msUsers.end(); it++) {
|
||||
@@ -587,4 +587,4 @@ private:
|
||||
set<CString> m_ssDefaultChans;
|
||||
};
|
||||
|
||||
GLOBALMODULEDEFS(CPartylineMod, "Internal channels and queries for users connected to znc");
|
||||
GLOBALMODULEDEFS(CPartylineMod, "Internal channels and queries for users connected to znc")
|
||||
|
||||
Reference in New Issue
Block a user