| 42 |
|
* parv[1] = message text |
| 43 |
|
*/ |
| 44 |
|
static int |
| 45 |
< |
mo_globops(struct Client *client_p, struct Client *source_p, |
| 46 |
< |
int parc, char *parv[]) |
| 45 |
> |
mo_globops(struct Client *source_p, int parc, char *parv[]) |
| 46 |
|
{ |
| 47 |
|
const char *message = parv[1]; |
| 48 |
|
|
| 58 |
|
return 0; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
< |
sendto_server(NULL, NOCAPS, NOCAPS, ":%s GLOBOPS :%s", |
| 61 |
> |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s GLOBOPS :%s", |
| 62 |
|
ID(source_p), message); |
| 63 |
|
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_GLOBAL, "from: %s: %s", |
| 64 |
|
source_p->name, message); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
static int |
| 69 |
< |
ms_globops(struct Client *client_p, struct Client *source_p, |
| 71 |
< |
int parc, char *parv[]) |
| 69 |
> |
ms_globops(struct Client *source_p, int parc, char *parv[]) |
| 70 |
|
{ |
| 71 |
|
if (EmptyString(parv[1])) |
| 72 |
|
return 0; |
| 73 |
|
|
| 74 |
< |
sendto_server(client_p, NOCAPS, NOCAPS, ":%s GLOBOPS :%s", |
| 74 |
> |
sendto_server(source_p, NOCAPS, NOCAPS, ":%s GLOBOPS :%s", |
| 75 |
|
ID(source_p), parv[1]); |
| 76 |
|
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_GLOBAL, "from: %s: %s", |
| 77 |
|
source_p->name, parv[1]); |