commit - 72a4c0489f4a9c8b2a5b9f111fc45250c0c9c02c
commit + 6b9ce1cb72c4c840b212068d388bb4b6d770d1fa
blob - 2b4dc42d1b4a44690d398c5f607234baf823c84e
blob + b7cf74f7f765528397872fda9c3c912233e87ed4
--- src/ngircd/irc-channel.c
+++ src/ngircd/irc-channel.c
#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>
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 ));
}
}