77 |
|
last_used = event_base->time.sec_monotonic; |
78 |
|
|
79 |
|
if (ConfigServerHide.disable_remote_commands == 0) |
80 |
< |
if (server_hunt(source_p, ":%s MOTD :%s", 1, parc, parv)->ret != HUNTED_ISME) |
80 |
> |
if (server_hunt(source_p, ":%s MOTD :%s", 1, parv)->ret != HUNTED_ISME) |
81 |
|
return; |
82 |
|
|
83 |
|
do_motd(source_p); |
97 |
|
static void |
98 |
|
ms_motd(struct Client *source_p, int parc, char *parv[]) |
99 |
|
{ |
100 |
< |
if (server_hunt(source_p, ":%s MOTD :%s", 1, parc, parv)->ret != HUNTED_ISME) |
100 |
> |
if (server_hunt(source_p, ":%s MOTD :%s", 1, parv)->ret != HUNTED_ISME) |
101 |
|
return; |
102 |
|
|
103 |
|
do_motd(source_p); |