Skip to content

Commit

Permalink
Fix omition in seresye.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbmerritt committed Nov 20, 2011
1 parent 3d46f75 commit 883746c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seresye.erl
Expand Up @@ -54,7 +54,7 @@ retract(Name, Facts) ->
gen_server:call(Name, {retract, Facts}).

add_rules(Name, RuleList)
when is_list(RuleList) ->
when is_list(RuleList) orelse is_atom(RuleList) ->
gen_server:call(Name, {add_rules, RuleList}).

add_rule(Name, Fun) ->
Expand Down

0 comments on commit 883746c

Please sign in to comment.