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-7.2/modules/m_topic.c (file contents), Revision 895 by michael, Fri Nov 2 11:15:22 2007 UTC vs.
ircd-hybrid/modules/m_topic.c (file contents), Revision 1155 by michael, Tue Aug 9 20:27:45 2011 UTC

# Line 23 | Line 23
23   */
24  
25   #include "stdinc.h"
26 < #include "tools.h"
26 > #include "list.h"
27   #include "handlers.h"
28   #include "channel.h"
29   #include "channel_mode.h"
# Line 40 | Line 40
40   #include "parse.h"
41   #include "modules.h"
42   #include "packet.h"
43 – #include "common.h"
43  
44   static void m_topic(struct Client *, struct Client *, int, char *[]);
45  
# Line 49 | Line 48 | struct Message topic_msgtab = {
48    {m_unregistered, m_topic, m_topic, m_ignore, m_topic, m_ignore}
49   };
50  
52 – #ifndef STATIC_MODULES
51   void
52   _modinit(void)
53   {
# Line 63 | Line 61 | _moddeinit(void)
61   }
62  
63   const char *_version = "$Revision$";
66 – #endif
64  
65   /* m_topic()
66   *  parv[0] = sender prefix
# Line 134 | Line 131 | m_topic(struct Client *client_p, struct
131                      ":%s TOPIC %s :%s",
132                      source_p->name, chptr->chname,
133                      chptr->topic == NULL ? "" : chptr->topic);
134 <      sendto_channel_local(ALL_MEMBERS, NO,
134 >      sendto_channel_local(ALL_MEMBERS, 0,
135                             chptr, ":%s!%s@%s TOPIC %s :%s",
136                             source_p->name,
137                             source_p->username,

Diff Legend

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