X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_defaults.c;h=9a85c82e038287010e1eedddecdb977af8dc1bf2;hb=refs%2Fheads%2Fupstream;hp=4404cc1d93047923eab753f17d315abfe331855d;hpb=36ab1bb01f9a0f5f630f3098b1afdc5ccc937fa6;p=ircu2.10.12-pk.git diff --git a/ircd/m_defaults.c b/ircd/m_defaults.c index 4404cc1..9a85c82 100644 --- a/ircd/m_defaults.c +++ b/ircd/m_defaults.c @@ -22,16 +22,11 @@ * * $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" @@ -39,7 +34,7 @@ #include "supported.h" #include "version.h" -#include +/* #include -- Now using assert in ircd_log.h */ /* * m_functions execute protocol messages on this server: @@ -105,7 +100,7 @@ int m_not_oper(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) 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; } @@ -122,9 +117,5 @@ int m_ignore(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) 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; }