summaryrefslogtreecommitdiff
path: root/src/pbx_conn.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbx_conn.erl')
-rw-r--r--src/pbx_conn.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbx_conn.erl b/src/pbx_conn.erl
index dde5de2..61c0f3a 100644
--- a/src/pbx_conn.erl
+++ b/src/pbx_conn.erl
@@ -33,7 +33,7 @@ handle_cast({error, Reason}, Socket) ->
handle_info({tcp, _, Data}, Socket) ->
Pdu = pbx_pdu:decode(Data),
io:format("PDU: ~p~n", [Pdu]),
- gen_event:notify(pbx_pdu, Pdu),
+ pbx_pdu:notify(Pdu),
{noreply, Socket};
handle_info({tcp_closed, _}, Socket) ->