CLI2: Eliminated READCMD/WRITECMD tags
- Now tags command with DNA.
This commit is contained in:
@@ -288,7 +288,7 @@ void Filter::safety ()
|
||||
{
|
||||
if (a.hasTag ("CMD"))
|
||||
{
|
||||
if (a.hasTag ("WRITECMD"))
|
||||
if (! a.hasTag ("READONLY"))
|
||||
{
|
||||
if (! context.config.getBoolean ("allow.empty.filter"))
|
||||
throw std::string (STRING_TASK_SAFETY_ALLOW);
|
||||
|
||||
Reference in New Issue
Block a user