+2010-01-03 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/Makefile.in (IRCD_SRC): Add m_xquery.c and m_xreply.c to
+ the build.
+
+ * ircd/m_xquery.c: Add missing include.
+ (mo_xquery): Fix spelling of struct Client.
+ (ms_xquery): Likewise.
+
+ * ircd/m_xreply.c: Add missing includes.
+ (ms_xreply): Fix spelling of struct Client and findNUser().
+
2010-01-01 Kevin L. Mitchell <klmitch@mit.edu>
* doc/readme.xquery: documentation for design and use of the
m_who.c \
m_whois.c \
m_whowas.c \
+ m_xreply.c \
+ m_xquery.c \
match.c \
memdebug.c \
motd.c \
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
+#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
*/
int mo_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- struct client* acptr;
+ struct Client* acptr;
if (parc < 4) /* have enough parameters? */
return need_more_params(sptr, "XQUERY");
*/
int ms_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- struct client* acptr;
+ struct Client* acptr;
if (parc < 4) /* have enough parameters? */
return need_more_params(sptr, "XQUERY");
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
+#include "ircd_reply.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
+#include "numnicks.h"
#include "s_auth.h"
#include "send.h"
*/
int ms_xreply(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
- struct client* acptr;
+ struct Client* acptr;
const char* routing;
const char* reply;
reply = parv[3];
/* Look up the target */
- if (!(acptr = FindNServer(parv[1])) && !(acptr = FindNUser(parv[1])))
+ if (!(acptr = FindNServer(parv[1])) && !(acptr = findNUser(parv[1])))
return send_reply(sptr, SND_EXPLICIT | ERR_NOSUCHSERVER,
"* :Server has disconnected");