Make CModule::PutModule use CUser::PutModule
This commit is contained in:
1 parent
c48f0fde3c
commit
6bc36d1708
4 files changed
+24
-21
No files matched your search
@@ -1104,6 +1104,20 @@ bool CUser::PutModule(const CString& sModule, const CString& sLine, CClient* pCl
|
||||
return (pClient == NULL);
|
||||
}
|
||||
|
||||
bool CUser::PutModNotice(const CString& sModule, const CString& sLine, CClient* pClient, CClient* pSkipClient) {
|
||||
for (unsigned int a = 0; a < m_vClients.size(); a++) {
|
||||
if ((!pClient || pClient == m_vClients[a]) && pSkipClient != m_vClients[a]) {
|
||||
m_vClients[a]->PutModNotice(sModule, sLine);
|
||||
|
||||
if (pClient) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return (pClient == NULL);
|
||||
}
|
||||
|
||||
bool CUser::ResumeFile(unsigned short uPort, unsigned long uFileSize) {
|
||||
CSockManager& Manager = CZNC::Get().GetManager();
|
||||
|
||||
|
||||
Reference in new issue
Block a user