From 0ea417c4a4a30c89f2fa1112f20809cf64111f98 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 6 Dec 2011 00:01:08 +0100 Subject: [PATCH] Disallow $ in usernames as this may cause problems with ban forwarding. --- src/match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/match.c b/src/match.c index 626859d8d..46b5bec72 100644 --- a/src/match.c +++ b/src/match.c @@ -691,7 +691,7 @@ const unsigned int CharAttrs[] = { /* ! */ PRINT_C | KWILD_C | CHAN_C | NONEOS_C, /* " */ PRINT_C | CHAN_C | NONEOS_C, /* # */ PRINT_C | MWILD_C | CHANPFX_C | CHAN_C | NONEOS_C, -/* $ */ PRINT_C | NONEOS_C | USER_C, +/* $ */ PRINT_C | NONEOS_C, /* % */ PRINT_C | CHAN_C | NONEOS_C, /* & */ PRINT_C | CHANPFX_C | CHAN_C | NONEOS_C, /* ' */ PRINT_C | CHAN_C | NONEOS_C,