git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1926
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+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
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_who.c \
m_whois.c \
m_whowas.c \
+ m_xreply.c \
+ m_xquery.c \
match.c \
memdebug.c \
motd.c \
match.c \
memdebug.c \
motd.c \
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
*/
int mo_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
*/
int mo_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
if (parc < 4) /* have enough parameters? */
return need_more_params(sptr, "XQUERY");
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[])
{
*/
int ms_xquery(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
if (parc < 4) /* have enough parameters? */
return need_more_params(sptr, "XQUERY");
if (parc < 4) /* have enough parameters? */
return need_more_params(sptr, "XQUERY");
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
#include "client.h"
#include "ircd.h"
#include "ircd_log.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
#include "ircd_string.h"
#include "msg.h"
#include "numeric.h"
#include "s_auth.h"
#include "send.h"
#include "s_auth.h"
#include "send.h"
*/
int ms_xreply(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
*/
int ms_xreply(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
const char* routing;
const char* reply;
const char* routing;
const char* reply;
reply = parv[3];
/* Look up the target */
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");
return send_reply(sptr, SND_EXPLICIT | ERR_NOSUCHSERVER,
"* :Server has disconnected");