ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_topic.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_topic.c (file contents):
Revision 5347 by michael, Sun Jan 11 12:42:20 2015 UTC vs.
Revision 5538 by michael, Wed Feb 11 20:30:53 2015 UTC

# Line 29 | Line 29
29   #include "channel.h"
30   #include "channel_mode.h"
31   #include "client.h"
32 + #include "conf.h"
33   #include "hash.h"
34   #include "irc_string.h"
35   #include "ircd.h"
# Line 169 | Line 170 | ms_topic(struct Client *source_p, int pa
170  
171    if (!IsClient(source_p))
172      sendto_channel_local(0, chptr, ":%s TOPIC %s :%s",
173 <                         source_p->name,
173 >                        (IsHidden(source_p) || ConfigServerHide.hide_servers) ? me.name : source_p->name,
174                           chptr->name, chptr->topic);
175  
176    else

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)