Log message:
Fixed bug as reported by maniac. (Topic's not being propergated properly)
Fixed bug as reported by net, cleaning up the patch slightly. (clients not
having their 'IPchecked flag' set)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@307
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2000-10-30 Isomer <isomer@coders.net>
+
+ * ircd/m_topic.c: Fixed bug where we'd only send to clients topics
+ that were the *same* instead of different. Oh the embarrasment!
+
+ * ircd/IPcheck.c: Merged net's fix.
+
2000-11-02 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/m_whois.c: remove compiler warning by adding a newline to
entry->last_connect = NOW;
}
}
+ SetIPChecked(cptr);
return 1;
}
* send it to all the clients to save bandwidth. We still send
* it to other servers as they may have split and lost the topic.
*/
- newtopic=ircd_strncmp(chptr->topic,topic,TOPICLEN)==0;
+ newtopic=ircd_strncmp(chptr->topic,topic,TOPICLEN)!=0;
/* setting a topic */
ircd_strncpy(chptr->topic, topic, TOPICLEN);
ircd_strncpy(chptr->topic_nick, sptr->name, NICKLEN);