mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Make all the modules support networks
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
if(!m_bNewOnly || m_sClientsSeen.find(m_pClient->GetRemoteIP()) == m_sClientsSeen.end()) {
|
||||
SendNotification("Another client authenticated as your user. "
|
||||
"Use the 'ListClients' command to see all " +
|
||||
CString(m_pUser->GetClients().size()) + " clients.");
|
||||
CString(m_pUser->GetAllClients().size()) + " clients.");
|
||||
|
||||
// the set<> will automatically disregard duplicates:
|
||||
m_sClientsSeen.insert(m_pClient->GetRemoteIP());
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
if(m_bOnDisconnect) {
|
||||
SendNotification("A client disconnected from your user. "
|
||||
"Use the 'ListClients' command to see the " +
|
||||
CString(m_pUser->GetClients().size()) + " remaining client(s).");
|
||||
CString(m_pUser->GetAllClients().size()) + " remaining client(s).");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user