Replaced the "Another client authenticated as your user, use the 'ListClients' command to see all clients" message with a configurable module ("clientnotify").

This means that you can now:
- turn off the message (it's even off by default until you load the module)
- have the message sent to you as a notice instead of a privmsg
- restrict messages to previously unseen client ip addresses only (no more spam on sucky connections)
- be notified of disconnecting clients if you want to.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1698 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-01-10 11:47:56 +00:00
parent fdb16bb170
commit 543bc51f00
2 changed files with 106 additions and 1 deletions

View File

@@ -267,7 +267,6 @@ void CUser::UserConnected(CClient* pClient) {
BounceAllClients();
}
PutStatus("Another client authenticated as your user, use the 'ListClients' command to see all clients");
m_vClients.push_back(pClient);
if (m_RawBuffer.IsEmpty()) {