]> arthur.barton.de Git - ngircd.git/commitdiff
- Fixed up broken patch (once again -- *ARGL*) ...
authorAlexander Barton <alex@barton.de>
Wed, 8 Jan 2003 20:32:17 +0000 (20:32 +0000)
committerAlexander Barton <alex@barton.de>
Wed, 8 Jan 2003 20:32:17 +0000 (20:32 +0000)
src/ngircd/irc-channel.c

index 2b4dc42d1b4a44690d398c5f607234baf823c84e..b7cf74f7f765528397872fda9c3c912233e87ed4 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-channel.c,v 1.21.2.3 2003/01/08 20:22:57 alex Exp $";
+static char UNUSED id[] = "$Id: irc-channel.c,v 1.21.2.4 2003/01/08 20:32:17 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -412,7 +412,7 @@ IRC_CHANINFO( CLIENT *Client, REQUEST *Req )
                if( ! *ptr )
                {
                        /* OK, there is no topic jet */
-                       Channel_SetTopic( chan, arg_topic );
+                       Channel_SetTopic( chan, Req->argv[arg_topic] );
                        IRC_WriteStrChannelPrefix( Client, chan, from, FALSE, "TOPIC %s :%s", Req->argv[0], Channel_Topic( chan ));
                }
        }