From 489f4799c85fb709ca6ddc6384e6270b51e39f6d Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 2 Jun 2009 02:32:07 -0500 Subject: [PATCH] presence: Declare RPL_METADATACHG. --- include/numeric.h | 1 + src/messages.tab | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/numeric.h b/include/numeric.h index 5b8f38e..8ff4d96 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -361,6 +361,7 @@ extern const char *form_str(int); #define RPL_METADATASET 790 #define RPL_METADATAREM 791 +#define RPL_METADATACHG 792 #define RPL_WHOISMETADATA 793 #define RPL_LOGGEDIN 900 diff --git a/src/messages.tab b/src/messages.tab index e5ed607..7ce3dba 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -813,7 +813,7 @@ static const char * replies[] = { /* 789 */ NULL, /* 790 RPL_METADATASET */ "%s :Metadata set", /* 791 RPL_METADATAREM */ "%s :Metadata removed", -/* 792 */ NULL, +/* 792 RPL_METADATACHG */ "%s %s :%s", /* 793 RPL_WHOISMETADATA */ "%s %s :%s", /* 794 */ NULL, /* 795 */ NULL,