From c73d9995762cb5cbe6a4ee6110ca889f138c2662 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 17 Aug 2008 14:46:29 +0200 Subject: [PATCH 1/2] Remove another servlink remnant. --- include/s_conf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/s_conf.h b/include/s_conf.h index 5e6834f..b556ff0 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -134,7 +134,6 @@ struct config_file_entry const char *xlinefile; const char *resvfile; - char *servlink_path; char *egdpool_path; char *default_operstring; From d2e6d8d715189a45441774365458fff1991648cf Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 17 Aug 2008 14:49:01 +0200 Subject: [PATCH 2/2] Add 328 numeric (ChanServ channel URL) to the header files. --- include/numeric.h | 2 ++ src/messages.tab | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/numeric.h b/include/numeric.h index af9435d..b80c200 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -154,6 +154,8 @@ extern const char *form_str(int); #define RPL_LISTEND 323 #define RPL_CHANNELMODEIS 324 +#define RPL_CHANNELURL 328 /* to be sent by services */ + #define RPL_CREATIONTIME 329 #define RPL_WHOISLOGGEDIN 330 diff --git a/src/messages.tab b/src/messages.tab index 2166b64..2424e0f 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -349,7 +349,7 @@ static const char * replies[] = { /* 325 */ NULL, /* 326 */ NULL, /* 327 */ NULL, -/* 328 */ NULL, +/* 328 RPL_CHANNELURL */ NULL, /* 329 RPL_CREATIONTIME, */ ":%s 329 %s %s %lu", /* 330 RPL_WHOISLOGGEDIN */ ":%s 330 %s %s %s :is logged in as", /* 331 RPL_NOTOPIC, */ ":%s 331 %s %s :No topic is set.",