processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
250 stars 140 forks source link

port #240

Closed baturorkun closed 6 years ago

baturorkun commented 6 years ago

hi how can i get port number? i think _Port variable is an object.

{UserIP, _Port} ->
                   io_lib:format("lip=\"~s\" ", [inet_parse:ntoa(UserIP)]),
                         ?INFO_MSG("PORT ===> ", [ _Port ]);