mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Added config option for bouncing dccs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@388 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ void CUserSock::ReadLine(const CString& sData) {
|
||||
sCTCP.LeftChomp();
|
||||
sCTCP.RightChomp();
|
||||
|
||||
if (strncasecmp(sCTCP.c_str(), "DCC ", 4) == 0) {
|
||||
if (strncasecmp(sCTCP.c_str(), "DCC ", 4) == 0 && m_pUser && m_pUser->BounceDCCs()) {
|
||||
CString sType = sCTCP.Token(1);
|
||||
CString sFile = sCTCP.Token(2);
|
||||
unsigned long uLongIP = strtoul(sCTCP.Token(3).c_str(), NULL, 10);
|
||||
|
||||
Reference in New Issue
Block a user