ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_sjoin.c
(Generate patch)

Comparing ircd-hybrid-8/modules/core/m_sjoin.c (file contents):
Revision 1178 by michael, Mon Aug 15 08:11:31 2011 UTC vs.
Revision 1203 by michael, Tue Aug 23 20:06:08 2011 UTC

# Line 263 | Line 263 | ms_sjoin(struct Client *client_p, struct
263    {
264      remove_our_modes(chptr, source_p);
265  
266 <    if (chptr->topic)
266 >    if (chptr->topic[0])
267      {
268 <      set_channel_topic(chptr, NULL, NULL, 0);
269 <      chptr->topic_time = 0;
268 >      set_channel_topic(chptr, "", "", 0);
269        sendto_channel_local(ALL_MEMBERS, NO, chptr, ":%s TOPIC %s :",
270                             (IsHidden(source_p) ||
271                             ConfigServerHide.hide_servers) ?

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines