0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 17:28:18 +02:00

nokillservices: Use ircu numeric instead of a notice.

This commit is contained in:
Jilles Tjoelker 2013-04-27 16:55:26 +02:00
parent 69ec96f8f3
commit ee45698302

View file

@ -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;
}