mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
nokillservices: Use ircu numeric instead of a notice.
This commit is contained in:
parent
69ec96f8f3
commit
ee45698302
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ block_services_kill(void *vdata)
|
|||
|
||||
if (IsService(data->target))
|
||||
{
|
||||
sendto_one_notice(data->client, ":You may not kill network service %s",
|
||||
sendto_one_numeric(data->client, ERR_ISCHANSERVICE,
|
||||
"KILL %s :Cannot kill a network service",
|
||||
data->target->name);
|
||||
data->approved = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue