Commit e4d754af authored by rswindell's avatar rswindell
Browse files

Fixed bug with parsing compiled ARS that included the ACTIVE, INACTIVE, or

DELETED keywords with other keywords (e.g. "NOT DELETED AND LEVEL 50)":
keyword/values following the broken keyword would be interpretted incorrectly.
parent a0208fb6
......@@ -101,6 +101,9 @@ bool sbbs_t::ar_exp(const uchar **ptrptr, user_t* user, client_t* client)
case AR_WIN32:
case AR_UNIX:
case AR_LINUX:
case AR_ACTIVE:
case AR_INACTIVE:
case AR_DELETED:
break;
default:
(*ptrptr)++;
......
......@@ -1374,6 +1374,9 @@ static BOOL ar_exp(scfg_t* cfg, uchar **ptrptr, user_t* user, client_t* client)
case AR_WIN32:
case AR_UNIX:
case AR_LINUX:
case AR_ACTIVE:
case AR_INACTIVE:
case AR_DELETED:
break;
default:
(*ptrptr)++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment