projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git]
/
ircd
/
m_info.c
diff --git
a/ircd/m_info.c
b/ircd/m_info.c
index ec298d3169beb18eb39384174ccc7bf44fef6d9e..0f18c438c97f189a69bb488c00c0b50444feb6bd 100644
(file)
--- a/
ircd/m_info.c
+++ b/
ircd/m_info.c
@@
-83,6
+83,7
@@
#include "client.h"
#include "ircd.h"
#include "client.h"
#include "ircd.h"
+#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
@@
-94,7
+95,7
@@
#include "send.h"
#include "version.h"
#include "send.h"
#include "version.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
/*
* m_info - generic message handler
/*
* 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;
HUNTED_ISME)
return 0;
- while (text[2])
+ while (text[2
12
])
{
send_reply(sptr, RPL_INFO, *text);
text++;
{
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;
if (hunt_server_cmd(sptr, CMD_INFO, cptr, 1, ":%C", 1, parc, parv) !=
HUNTED_ISME)
return 0;
- while (text[2])
+ while (text[2
12
])
{
if (!IsOper(sptr))
send_reply(sptr, RPL_INFO, *text);
{
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)
{
if (hunt_server_cmd(sptr, CMD_INFO, cptr, 1, ":%C", 1, parc, parv) ==
HUNTED_ISME)
{
- while (text[2])
+ while (text[2
12
])
{
if (!IsOper(sptr))
send_reply(sptr, RPL_INFO, *text);
{
if (!IsOper(sptr))
send_reply(sptr, RPL_INFO, *text);