Handle 479 replies correctly.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 23 Jun 2007 16:38:44 +0000 (18:38 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 23 Jun 2007 16:38:44 +0000 (18:38 +0200)
NEWS
src/irc.h
src/redirect.c

diff --git a/NEWS b/NEWS
index 3f911f4..65a08bc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,8 @@ Ctrlproxy 3.0.3 UNRELEASED
 
        * Fall back to user name if real name is empty. 
 
+       * Handle 479 responses correctly. (#142)
+
   INTERNALS
 
     * Use GIOChannels for reading the motd. 
index c884acd..430bb9a 100644 (file)
--- a/src/irc.h
+++ b/src/irc.h
@@ -58,6 +58,7 @@
 #define ERR_NOCHANMODES 477
 #define ERR_NEEDREGGEDNICK 477
 #define ERR_BANLISTFULL 478
+#define ERR_ILLEGALCHANNELNAME 479
 #define ERR_NOPRIVILEGES 481
 #define ERR_CHANOPPRIVSNEEDED 482
 #define ERR_CANTKILLSERVER 483
index 1ec1cd5..d499b34 100644 (file)
@@ -263,6 +263,7 @@ static struct query queries[] = {
                        /* Replies to channel mode queries */
                        ERR_USERNOTINCHANNEL, ERR_KEYSET, ERR_CHANOPPRIVSNEEDED,
                        ERR_UNKNOWNMODE, ERR_NOCHANMODES, ERR_NOSUCHCHANNEL,
+                       ERR_ILLEGALCHANNELNAME,
                        
                        0 },
                handle_default