Fix usermodes harder when they are set early during registration.
[ircu2.10.12-pk.git] / ChangeLog
index 06a1d69e1e7df17c81a5753e239141796f1c2c28..734e05f0e2e671d8576cb99f08907832ff49e023 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-07-30  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_user.c (register_user): Move the default-usermodes call
+       to set_user_mode() to before SetUser(), so that the former does
+       not increment the UserStats fields.  Add back the explicit
+       adjustments to UserStats for invisible and opered clients.
+
 2009-07-05  Michael Poole <mdpoole@troilus.org>
 
        * ircd/s_user.c (register_user): Use correct parc for