BUG/fix: /filter name [on|off] is reversed

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

efudd
a lesser mummy
a lesser mummy
Posts: 50
Joined: Sun Jan 04, 2004 8:00 pm

BUG/fix: /filter name [on|off] is reversed

Post by efudd » Fri Aug 27, 2004 12:52 am

Two line code fix in MQ2Commands.cpp around line 794:

Change This:

PCHAR szFilterTarget[] = {
"on",
"off",
NULL
};

To This:

PCHAR szFilterTarget[] = {
"off",
"on",
NULL
};

Then /filter name on/off works as one might would expect.

-e

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Fri Aug 27, 2004 1:55 am

cvs'd ..thanks!