From 195d10c293ffaddc52ee29bb624ea40162ccecf9 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 2 Jun 2009 01:32:09 -0500 Subject: [PATCH] presence: Declare RPL_METADATASET and RPL_METADATAREM. --- include/numeric.h | 3 +++ src/messages.tab | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/numeric.h b/include/numeric.h index 6b449e48d..24888432c 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -359,6 +359,9 @@ extern const char *form_str(int); #define RPL_SCANMATCHED 750 #define RPL_SCANUMODES 751 +#define RPL_METADATASET 790 +#define RPL_METADATAREM 791 + #define RPL_LOGGEDIN 900 #define RPL_LOGGEDOUT 901 #define ERR_NICKLOCKED 902 diff --git a/src/messages.tab b/src/messages.tab index cad5720ab..f0e0bffb4 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -811,8 +811,8 @@ static const char * replies[] = { /* 787 */ NULL, /* 788 */ NULL, /* 789 */ NULL, -/* 790 */ NULL, -/* 791 */ NULL, +/* 790 RPL_METADATASET */ "%s :Metadata set", +/* 791 RPL_METADATAREM */ "%s :Metadata removed", /* 792 */ NULL, /* 793 */ NULL, /* 794 */ NULL,