]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Really clever VOODOO.
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 18 Dec 2006 18:39:17 +0000 (18:39 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 18 Dec 2006 18:39:17 +0000 (18:39 +0000)
commite80337c204adbe3ff4b38eafed777ba2f8bac6fb
tree9d5d599b17d2a100a488c553c83b119620be876c
parent1c52b90e826ca3fdef6d55fccd7abbc4fdd90574
Really clever VOODOO.
RegisteredUserCount() used to take longer to execute than UnregisteredUserCount(), as all unregged users are local, so you only need to count in the local
vector not the global map.
Therefore, make RegisteredUserCount() just return this:   this->UnregisteredUserCount() - clientlist.size()

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