]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Fix bug found in <connect> code, <connect:limit> was checked after finding a class...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 18 May 2008 17:16:55 +0000 (17:16 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 18 May 2008 17:16:55 +0000 (17:16 +0000)
commit9e59e5e906246e928b0d90bc8ff25583b0b71a8f
treef03edce52a2a110333be4ef612ba93f8b9d733cc
parent1fa86207eda4c5eee0547beb5cb2b94a16a05609
Fix bug found in <connect> code, <connect:limit> was checked after finding a class that matched, not during - meaning that if they were locked out by <connect:limit>, they were given no second chance to be matched by a future <connect> (and that <connect> deny would not apply to them if necessary etc). Also tidy this up a *lot*, remove some of the nesting by (ab)using looping. This is a lot more understandable for me now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9732 e03df62e-2008-0410-955e-edbf42e46eb7
src/users.cpp