mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-07 18:55:23 +01:00
fixed incorrect badword { } causing a crash
This commit is contained in:
parent
ca4bbb66eb
commit
4a69b08291
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ regex_t expr;
|
|||
goto Ilovegotos;
|
||||
|
||||
for (tmp = s; *tmp; tmp++) {
|
||||
if ((int)*tmp < 65 || (int)*tmp > 123) {
|
||||
if (!isalnum(*tmp) && !(*tmp >= 128)) {
|
||||
if ((s == tmp) && (*tmp == '*'))
|
||||
continue;
|
||||
if ((*(tmp + 1) == '\0') && (*tmp == '*'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue