summaryrefslogtreecommitdiffstats
path: root/src/core/ephraim_conn.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-10-09 15:04:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-10-09 15:04:16 +0200
commitfe4a256c05727f43c6c793b620b1638b88c830b3 (patch)
treeb37076f8fa9f1817ceae99989d2878a58c944ef8 /src/core/ephraim_conn.erl
parente6d184833a8c46d3ecd3a407c66c561bb0d47123 (diff)
downloadephraim-master.tar
ephraim-master.zip
Add advanced_event behaviour and use it for account eventsHEADmaster
Diffstat (limited to 'src/core/ephraim_conn.erl')
-rw-r--r--src/core/ephraim_conn.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ephraim_conn.erl b/src/core/ephraim_conn.erl
index 308f385..9bc6d2f 100644
--- a/src/core/ephraim_conn.erl
+++ b/src/core/ephraim_conn.erl
@@ -57,7 +57,7 @@ connected({send_packet, Packet}, Data) ->
{next_state,connected,Data}.
handle_info(Msg = #received_packet{}, State, Data) ->
- gen_event:notify(Data#conn_state.event_manager, {received_packet,Msg}),
+ advanced_event:notify(Data#conn_state.event_manager, {received_packet,Msg}),
{next_state, State, Data};
handle_info(Msg, State, Data) ->
io:format("ephraim_conn: ~p~n", [Msg]),