Add support for 470 response.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 18 Apr 2007 15:59:54 +0000 (17:59 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 18 Apr 2007 15:59:54 +0000 (17:59 +0200)
NEWS
src/irc.h
src/redirect.c

diff --git a/NEWS b/NEWS
index abdd7c4772a1428c986bd38259c06f3611a0cee2..38d711e727ed54a93caa2c69365965785b3dc5bb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,12 @@
 
 Ctrlproxy 3.0.3 UNRELEASED
 
+  BUG FIXES
+
+    * Handle 470 response correctly.
+
+       * Recognize supported channel / user modes correctly.
+
   INTERNALS
 
     * Use GIOChannels for reading the motd. 
index 1f16af40c9b152d3d85ff02c8c82d6110f78756f..0b3e1c2ef0da31aac44c0b1845f01446172edff1 100644 (file)
--- a/src/irc.h
+++ b/src/irc.h
@@ -48,6 +48,7 @@
 #define ERR_YOUREBANNEDCREEP 465
 #define ERR_YOUWILLBEBANNED 466
 #define ERR_KEYSET 467
+#define ERR_FORWARDING 470
 #define ERR_CHANNELISFULL 471
 #define ERR_UNKNOWNMODE 472
 #define ERR_INVITEONLYCHAN 473
index 4dab70f31d4e88ac935458257d0812727fc2cd7e..22a4f9d931c3c35313883ed7eb9ec69f699691f8 100644 (file)
@@ -189,7 +189,8 @@ static struct query queries[] = {
                { ERR_NEEDMOREPARAMS, ERR_BANNEDFROMCHAN,
                  ERR_INVITEONLYCHAN, ERR_BADCHANNELKEY,
                  ERR_CHANNELISFULL, ERR_BADCHANMASK,
-                 ERR_NOSUCHCHANNEL, ERR_TOOMANYCHANNELS, 0 },
+                 ERR_FORWARDING, ERR_NOSUCHCHANNEL, 
+                 ERR_TOOMANYCHANNELS, 0 },
                handle_default
        },