Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv13021/src
Modified Files:
Tag: rel-1_0
chanserv.c
Log Message:
when seeing a new channel and we're not in burst and a topic exists, set it
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.161.2.73
retrieving revision 1.161.2.74
diff -C2 -r1.161.2.73 -r1.161.2.74
*** chanserv.c 2001/08/14 01:19:27 1.161.2.73
--- chanserv.c 2001/08/14 21:17:12 1.161.2.74
***************
*** 4468,4471 ****
--- 4468,4476 ----
irc_mode(chanserv->numeric, channel, modes);
}
+
+ if (!burst && channel->channel_info->topic[0])
+ {
+ SetChannelTopic(channel, chanserv->nick, channel->channel_info->topic, 1);
+ }
}
|