Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_part.c
index 4cf098adfa75c49f31d5fb6f80a6ccfd79baac75..34e6b642a01d804ab7442096c007dba6f225958a 100644 (file)
  *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
-#if 0
-/*
- * No need to include handlers.h here the signatures must match
- * and we don't need to force a rebuild of all the handlers everytime
- * we add a new one to the list. --Bleep
- */
-#include "handlers.h"
-#endif /* 0 */
+#include "config.h"
+
 #include "channel.h"
 #include "client.h"
 #include "hash.h"
@@ -115,7 +109,7 @@ int m_part(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   char *p = 0;
   char *name;
 
-  sptr->flags &= ~FLAGS_TS8;
+  cli_flags(sptr) &= ~FLAGS_TS8;
 
   /* check number of arguments */
   if (parc < 2 || parv[1][0] == '\0')
@@ -167,7 +161,7 @@ int ms_part(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   char *p = 0;
   char *name;
 
-  sptr->flags &= ~FLAGS_TS8;
+  cli_flags(sptr) &= ~FLAGS_TS8;
 
   /* check number of arguments */
   if (parc < 2 || parv[1][0] == '\0')