Files
znc/User.cpp
psychon 88897381da JoinChans(): Join channels in a semi random number
Now ZNC doesn't try to join the first, then the second etc channel, but instead
it will start at a random channel and go on from there.

This fixes a bug if you got e.g. MaxJoins = 5 and your first five channels are
invite-only. Without this, ZNC would never try to join any of the other
channels. With this patch applied, it will sooner or later try to join the other
channels, too. (I'd guess more sooner than later)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1602 726aef4b-f618-498e-8847-2d620e286838
2009-08-17 20:00:09 +00:00

31 KiB