static int
valid_user_host(struct Client *source_p, const char *luser, const char *lhost)
{
- /* # is invalid, as are '!' (n!u@h kline) and '@' (u@@h kline) */
- if(strchr(lhost, '#') || strchr(luser, '#') || strchr(luser, '!') ||
+ /* # and " are invalid, as are '!' (n!u@h kline) and '@' (u@@h kline) */
+ if(strchr(lhost, '#') || strchr(luser, '#') || strchr(lhost, '"') ||
+ strchr(luser, '"') || strchr(luser, '!') ||
strchr(lhost, '@'))
{
sendto_one_notice(source_p, ":Invalid K-Line");