]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_c2s.erl: Put auth_module in Info always (EJAB-549)
authorBadlop <badlop@process-one.net>
Wed, 16 Jul 2008 18:05:46 +0000 (18:05 +0000)
committerBadlop <badlop@process-one.net>
Wed, 16 Jul 2008 18:05:46 +0000 (18:05 +0000)
SVN Revision: 1454

ChangeLog
src/ejabberd_c2s.erl

index eeff65e7a1a8396bdd57c9add6332a91ad744fd2..49fb29616d67aca769dd1cbd9db4ffd8f63cfb73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-16  Badlop  <badlop@process-one.net>
+
+       * src/ejabberd_c2s.erl: Put auth_module in Info always (EJAB-549)
+
 2008-07-16  Alexey Shchepin  <alexey@process-one.net>
 
        * src/web/ejabberd_http_poll.erl: Report connection's IP address 
index edb297344a68cbbb9c0ec91d039e0005eb8a58ce..7f400fcaa47b514d49cf7c61225a87ba835c5e86 100644 (file)
@@ -1456,7 +1456,8 @@ presence_update(From, Packet, StateData) ->
                         StatusTag ->
                            xml:get_tag_cdata(StatusTag)
                     end,
-           Info = [{ip, StateData#state.ip},{conn, StateData#state.conn}],
+           Info = [{ip, StateData#state.ip}, {conn, StateData#state.conn},
+                   {auth_module, StateData#state.auth_module}],
            ejabberd_sm:unset_presence(StateData#state.sid,
                                       StateData#state.user,
                                       StateData#state.server,
@@ -1788,7 +1789,8 @@ roster_change(IJID, ISubscription, StateData) ->
 
 
 update_priority(Priority, Packet, StateData) ->
-    Info = [{ip, StateData#state.ip},{conn, StateData#state.conn}],
+    Info = [{ip, StateData#state.ip}, {conn, StateData#state.conn},
+           {auth_module, StateData#state.auth_module}],
     ejabberd_sm:set_presence(StateData#state.sid,
                             StateData#state.user,
                             StateData#state.server,