Disallow commas in channel resvs.
These can never match and could cause parse problems in resv.conf.
This commit is contained in:
parent
63860dd1a7
commit
6e5b8a5dec
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue