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 |