Disallow commas in channel resvs.
These can never match and could cause parse problems in resv.conf.
This commit is contained in:
parent
97c9dd8a26
commit
b0f30fa1ca
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue