summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-04-27 19:52:38 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-04-27 19:52:38 +0100
commit1d81e006b3a0d2c4287b47993f136f038f61d74d (patch)
treefb0f702d39e1790fb0b5b61de3ea770788257be3
parent9e17dbc2cdbc1d09ae4bb77bd976bd085b8a3aaf (diff)
downloadrabbitmq-server-1d81e006b3a0d2c4287b47993f136f038f61d74d.tar.gz
cosmetic
-rw-r--r--src/rabbit_event.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_event.erl b/src/rabbit_event.erl
index 4ec141cf..3f1b20fe 100644
--- a/src/rabbit_event.erl
+++ b/src/rabbit_event.erl
@@ -139,6 +139,6 @@ notify_if(false, _Type, _Props) -> ok.
notify(Type, Props) ->
%% TODO: switch to os:timestamp() when we drop support for
%% Erlang/OTP < R13B01
- gen_event:notify(rabbit_event, #event{type = Type,
- props = Props,
- timestamp = now()}).
+ gen_event:notify(?MODULE, #event{type = Type,
+ props = Props,
+ timestamp = now()}).