]> jfr.im git - irc/DALnet/bahamut.git/commitdiff
Fix SVSXCF calls with no channel name on send_topic_burst()
authorKobi Shmueli <redacted>
Thu, 8 Nov 2018 02:52:16 +0000 (04:52 +0200)
committerKobi Shmueli <redacted>
Thu, 8 Nov 2018 02:52:16 +0000 (04:52 +0200)
src/channel.c

index 81880f45953a781827cb6f231729d54fd68d4987..62d5e80a2cc54ed7bc1d6621a643b3922982c29c 100644 (file)
@@ -3781,7 +3781,7 @@ void send_topic_burst(aClient *cptr)
                 sendto_one(cptr, ":%s SVSXCF %s JOIN_CONNECT_TIME:%d TALK_CONNECT_TIME:%d TALK_JOIN_TIME:%d", me.name, chptr->chname, chptr->join_connect_time, chptr->talk_connect_time, chptr->talk_join_time);
                 for(xflag = xflags_list; xflag->option; xflag++)
                 {
-                    sendto_one(cptr, ":%s SVSXCF %s:%d", me.name, xflag->option, (chptr->xflags & xflag->flag)?1:0);
+                    sendto_one(cptr, ":%s SVSXCF %s %s:%d", me.name, chptr->chname, xflag->option, (chptr->xflags & xflag->flag)?1:0);
                 }
                 if(chptr->greetmsg && (chptr->max_bans != MAXBANS))
                     sendto_one(cptr, ":%s SVSXCF %s MAX_BANS:%d GREETMSG :%s", me.name, chptr->chname, chptr->max_bans, chptr->greetmsg);