mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
If you let your ZNC user to itself, you generate a loop. ZNC will send the "Welcome to ZNC message" to the connected client, which is itself. So it receives that messages and sends it to its client again, which... We detect this situation because we see raw 001 two times, which should never happen on a normal IRC server. To get even less than zero ;) false positive, we only disconnect if the second raw 001 is from a server called "irc.znc.in". git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1760 726aef4b-f618-498e-8847-2d620e286838
30 KiB
30 KiB