#include "client.h"
#include "ircd.h"
#include "ircd_features.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "s_serv.h"
#include "send.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* m_lusers - generic message handler
"%s :%C", 2, parc, parv) != HUNTED_ISME)
return 0;
- send_reply(sptr, RPL_LUSERCLIENT, UserStats.clients - UserStats.inv_clients,
+ assert(UserStats.inv_clients <= UserStats.clients + UserStats.unknowns);
+
+ send_reply(sptr, RPL_LUSERCLIENT,
+ UserStats.clients - UserStats.inv_clients + UserStats.unknowns,
UserStats.inv_clients, UserStats.servers);
if (longoutput && UserStats.opers)
send_reply(sptr, RPL_LUSEROP, UserStats.opers);