# | Line 1334 | Line 1334 | valid_sid(const char *sid) | |
---|---|---|
1334 | ||
1335 | if (strlen(sid) == IRC_MAXSID) | |
1336 | if (IsDigit(*sid)) | |
1337 | < | if (IsUpper(*(sid + 1)) && IsUpper(*(sid + 2))) |
1337 | > | if (IsAlNum(*(sid + 1)) && IsAlNum(*(sid + 2))) |
1338 | return 1; | |
1339 | ||
1340 | return 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |