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

Comparing ircd-hybrid/branches/8.1.x/modules/m_operwall.c (file contents):
Revision 2821 by michael, Wed Jan 15 23:12:35 2014 UTC vs.
Revision 2823 by michael, Wed Jan 15 23:17:22 2014 UTC

# Line 93 | Line 93 | ms_operwall(struct Client *client_p, str
93    return 0;
94   }
95  
96 /*
97 * me_operwall - OPERWALL message handler
98 *  (write to *all* local opers currently online)
99 *      parv[0] = sender prefix
100 *      parv[1] = message text
101 *
102 * Lets ms_encap handle propagation.
103 */
104 static int
105 me_operwall(struct Client *client_p, struct Client *source_p,
106            int parc, char *parv[])
107 {
108  const char *message = parv[1];
109
110  if (EmptyString(message))
111    return 0;
112
113  sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", message);
114  return 0;
115 }
116
96   static struct Message operwall_msgtab =
97   {
98    "OPERWALL", 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
99 <  { m_unregistered, m_not_oper, ms_operwall, me_operwall, mo_operwall, m_ignore }
99 >  { m_unregistered, m_not_oper, ms_operwall, m_ignore, mo_operwall, m_ignore }
100   };
101  
102   static void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines