summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index 5b757b6..b1f7de0 100644
--- a/state.rb
+++ b/state.rb
@@ -479,7 +479,7 @@ class Event
# Two Events are equal if their params are equal and their name is the same
def ==(other)
other.is_a? Event and \
- @params == other.params and \
+ @params.sort.hash == other.params.sort.hash and \
@name == other.name
end