sneedmc/logic/OneSixRule.cpp
2013-09-11 23:43:17 +02:00

10 lines
170 B
C++

#include "OneSixRule.h"
RuleAction RuleAction_fromString(QString name)
{
if(name == "allow")
return Allow;
if(name == "disallow")
return Disallow;
return Defer;
}