Move unreg, privs, capab and active fields from struct Client to struct Connection.
[ircu2.10.12-pk.git] / ChangeLog
index 038041e75864a6907f49dd2dc7165d63b29a1d6b..c02fdcc6801ecde32141b1b95eef23c29daa9967 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2004-12-18  Michael Poole <mdpoole@troilus.org>
+
+       * include/client.h: Move unreg, privs, capab and active fields
+       from struct Client to struct Connection since that is how they
+       are really associated.  Adjust macros to match.
+       (SetPriv, ClrPriv): New macros.
+
+       * ircd/client.c (client_set_privs): Exit earlier for remote
+       clients.  Adjust macro use to correspond.
+
+       * ircd/m_server.c (mr_server): Grant all privileges except
+       PRIV_SET to peer servers.
+
 2004-12-18  Michael Poole <mdpoole@troilus.org>
 
        * ircd/s_user.c (hide_hostmask): Add a missing "break;" to fix bug