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

Comparing ircd-hybrid/trunk/modules/m_wallops.c (file contents):
Revision 3155 by michael, Mon Mar 10 21:11:25 2014 UTC vs.
Revision 3156 by michael, Fri Mar 14 19:57:38 2014 UTC

# Line 41 | Line 41
41   *      parv[1] = message text
42   */
43   static int
44 < mo_wallops(struct Client *client_p, struct Client *source_p,
45 <           int parc, char *parv[])
44 > mo_wallops(struct Client *source_p, int parc, char *parv[])
45   {
46    const char *message = parv[1];
47  
# Line 59 | Line 58 | mo_wallops(struct Client *client_p, stru
58    }
59  
60    sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", message);
61 <  sendto_server(NULL, NOCAPS, NOCAPS, ":%s WALLOPS :%s",
61 >  sendto_server(source_p, NOCAPS, NOCAPS, ":%s WALLOPS :%s",
62                  ID(source_p), message);
63    return 0;
64   }
# Line 70 | Line 69 | mo_wallops(struct Client *client_p, stru
69   *      parv[1] = message text
70   */
71   static int
72 < ms_wallops(struct Client *client_p, struct Client *source_p,
74 <           int parc, char *parv[])
72 > ms_wallops(struct Client *source_p, int parc, char *parv[])
73   {
74    const char *message = parv[1];
75  
# Line 83 | Line 81 | ms_wallops(struct Client *client_p, stru
81    else
82      sendto_wallops_flags(UMODE_WALLOP, source_p, "%s", message);
83  
84 <  sendto_server(client_p, NOCAPS, NOCAPS, ":%s WALLOPS :%s",
84 >  sendto_server(source_p, NOCAPS, NOCAPS, ":%s WALLOPS :%s",
85                  ID(source_p), message);
86    return 0;
87   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines