*
* $Id$
*/
-#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 "client.h"
#include "ircd.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "numeric.h"
#include "numnicks.h"
#include "supported.h"
#include "version.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* m_functions execute protocol messages on this server:
int m_unregistered(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- send_reply(cptr, RPL_EXPLICIT | ERR_NOTREGISTERED, "%s :Register first.",
+ send_reply(cptr, SND_EXPLICIT | ERR_NOTREGISTERED, "%s :Register first.",
parv[0]);
return 0;
}
int m_unsupported(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
-#if 0
- send_reply(cptr, RPL_EXPLICIT | ERR_UNSUPPORTED, "%s :Unsupported command",
- parv[0]);
-#endif
return 0;
}