0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 14:48:56 +02:00

Disallow commas in channel resvs.

These can never match and could cause parse problems in resv.conf.
This commit is contained in:
Jilles Tjoelker 2009-05-08 01:23:40 +02:00
parent 97c9dd8a26
commit b0f30fa1ca

View file

@ -211,6 +211,13 @@ parse_resv(struct Client *source_p, const char *name,
return;
}
if(strchr(name, ','))
{
sendto_one_notice(source_p,
":Invalid character ',' in channel RESV");
return;
}
if(strchr(reason, '"'))
{
sendto_one_notice(source_p,