X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fparse.c;h=b79ebb8ace48f6f52a9e50dce8812c4ddb2c82c2;hb=refs%2Fheads%2Fupstream;hp=9b6b5b3d4cece3f8f0268f68d2cea40f5369191f;hpb=294e34a86f03321700d8c6cfe340b9af0133cf74;p=ircu2.10.12-pk.git diff --git a/ircd/parse.c b/ircd/parse.c index 9b6b5b3..b79ebb8 100644 --- a/ircd/parse.c +++ b/ircd/parse.c @@ -617,6 +617,20 @@ struct Message msgtab[] = { /* UNREG, CLIENT, SERVER, OPER, SERVICE */ { m_ignore, m_not_oper, ms_asll, mo_asll, m_ignore } }, + { + MSG_XQUERY, + TOK_XQUERY, + 0, MAXPARA, MFLG_SLOW, 0, NULL, + /* UNREG, CLIENT, SERVER, OPER, SERVICE */ + { m_ignore, m_ignore, ms_xquery, mo_xquery, m_ignore } + }, + { + MSG_XREPLY, + TOK_XREPLY, + 0, MAXPARA, MFLG_SLOW, 0, NULL, + /* UNREG, CLIENT, SERVER, OPER, SERVICE */ + { m_ignore, m_ignore, ms_xreply, m_ignore, m_ignore } + }, #if WE_HAVE_A_REAL_CAPABILITY_NOW { MSG_CAP, @@ -810,7 +824,6 @@ parse_client(struct Client *cptr, char *buffer, char *bufend) char* s; int i; int paramcount; - int noprefix = 0; struct Message* mptr; MessageHandler handler = 0; @@ -828,8 +841,6 @@ parse_client(struct Client *cptr, char *buffer, char *bufend) while (*ch == ' ') ch++; /* Advance to command */ } - else - noprefix = 1; if (*ch == '\0') { ServerStats->is_empt++;