summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_account_event_proxy.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 03:34:02 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-05 03:34:02 +0200
commit3d451b3dc69d91b04c1153f63436b63940287b13 (patch)
tree93c647b492621c39225b25eb185962de60353f30 /src/core/ephraim_account_event_proxy.erl
parent2444ac841fad00133f231e9667ab427c4ce4d39e (diff)
downloadephraim-3d451b3dc69d91b04c1153f63436b63940287b13.tar
ephraim-3d451b3dc69d91b04c1153f63436b63940287b13.zip
Sending work now, too
Diffstat (limited to 'src/core/ephraim_account_event_proxy.erl')
-rw-r--r--src/core/ephraim_account_event_proxy.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ephraim_account_event_proxy.erl b/src/core/ephraim_account_event_proxy.erl
index d9cf94e..726b0e0 100644
--- a/src/core/ephraim_account_event_proxy.erl
+++ b/src/core/ephraim_account_event_proxy.erl
@@ -1,11 +1,11 @@
-module(ephraim_account_event_proxy).
-behaviour(gen_event).
--export([start/1]).
+-export([start/2]).
-export([init/1, handle_event/2, handle_call/2, handle_info/2, terminate/2, code_change/3]).
-start(EventManager) ->
- gen_event:add_handler(EventManager, ?MODULE, foo_account).
+start(Account, EventManager) ->
+ gen_event:add_handler(EventManager, ?MODULE, Account).
init(Account) ->
{ok, Account}.