Fix usermodes harder when they are set early during registration.
[ircu2.10.12-pk.git] / include / msg.h
index 372935a1710228c47f654e2a735b15331313b98b..c9ded3a113e7e6e2ce610441983b8e73f5f21197 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
+ */
+/** @file
+ * @brief Command and token declarations and structures.
+ * @version $Id$
  */
 #ifndef INCLUDED_msg_h
 #define INCLUDED_msg_h
@@ -351,7 +353,12 @@ struct Client;
 #define TOK_GET                        "GET"
 
 #define MSG_PRIVS              "PRIVS"         /* PRIV */
-#define TOK_PRIVS              "PRIVS"
+#define TOK_PRIVS              "PR"
+#define CMD_PRIVS               MSG_PRIVS, TOK_PRIVS
+
+#define MSG_CAP                        "CAP"
+#define TOK_CAP                        "CAP"
+#define CMD_CAP                        MSG_CAP, TOK_CAP
 
 /*
  * Constants