Fix some memory counting buglets.
[ircu2.10.12-pk.git] / ircd / s_user.c
index 285acb64f8a2d154b0e44230faabc69f5853f64d..141c0f8a8854ed57cd33b9ec798f9f85c44e8a62 100644 (file)
@@ -91,9 +91,7 @@ struct User *make_user(struct Client *cptr)
 
     /* All variables are 0 by default */
     memset(cli_user(cptr), 0, sizeof(struct User));
-#ifdef  DEBUGMODE
     ++userCount;
-#endif
     cli_user(cptr)->refcnt = 1;
   }
   return cli_user(cptr);
@@ -120,9 +118,7 @@ void free_user(struct User* user)
     assert(0 == user->channel);
 
     MyFree(user);
-#ifdef  DEBUGMODE
     --userCount;
-#endif
   }
 }