- ::findCommand failed to sport readcmd and helper commands because of a
  copy/paste error.
This commit is contained in:
Paul Beckingham 2014-05-26 21:55:02 -04:00
parent 9106780260
commit 7d69c687b2

View file

@ -307,12 +307,9 @@ void Parser::findCommand ()
(*i)->tag ("CMD");
(*i)->attribute ("canonical", command);
if (exactMatch ("writecmd", (*i)->attribute ("raw")))
(*i)->tag ("WRITECMD");
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
(*i)->tag ("READCMD");
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
(*i)->tag ("HELPER");
if (exactMatch ("writecmd", command)) (*i)->tag ("WRITECMD");
else if (exactMatch ("readcmd", command)) (*i)->tag ("READCMD");
else if (exactMatch ("helper", command)) (*i)->tag ("HELPER");
return;
}