X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_info.c;h=0f18c438c97f189a69bb488c00c0b50444feb6bd;hb=refs%2Fheads%2Fupstream;hp=ec298d3169beb18eb39384174ccc7bf44fef6d9e;hpb=9170762c2e7dc3c06729f6d3c87d7087c7cde0b4;p=ircu2.10.12-pk.git diff --git a/ircd/m_info.c b/ircd/m_info.c index ec298d3..0f18c43 100644 --- a/ircd/m_info.c +++ b/ircd/m_info.c @@ -83,6 +83,7 @@ #include "client.h" #include "ircd.h" +#include "ircd_log.h" #include "ircd_reply.h" #include "ircd_string.h" #include "msg.h" @@ -94,7 +95,7 @@ #include "send.h" #include "version.h" -#include +/* #include -- Now using assert in ircd_log.h */ /* * m_info - generic message handler @@ -110,7 +111,7 @@ int m_info(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) HUNTED_ISME) return 0; - while (text[2]) + while (text[212]) { send_reply(sptr, RPL_INFO, *text); text++; @@ -140,7 +141,7 @@ int ms_info(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) if (hunt_server_cmd(sptr, CMD_INFO, cptr, 1, ":%C", 1, parc, parv) != HUNTED_ISME) return 0; - while (text[2]) + while (text[212]) { if (!IsOper(sptr)) send_reply(sptr, RPL_INFO, *text); @@ -173,7 +174,7 @@ int mo_info(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) if (hunt_server_cmd(sptr, CMD_INFO, cptr, 1, ":%C", 1, parc, parv) == HUNTED_ISME) { - while (text[2]) + while (text[212]) { if (!IsOper(sptr)) send_reply(sptr, RPL_INFO, *text);