Fix usermodes harder when they are set early during registration.
[ircu2.10.12-pk.git] / ChangeLog
index f119950d43091a8e3db9e0d0039124a0dd66db90..734e05f0e2e671d8576cb99f08907832ff49e023 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+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
+       set_user_mode().  Do not increment UserStats fields here, because
+       set_user_mode() handles that.
+
 2009-07-05  Michael Poole <mdpoole@troilus.org>
 
        * ircd/m_gline.c (ms_gline): Fix the sense of the test for