]> granicus.if.org Git - ejabberd/commitdiff
change caps hook name
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 3 Oct 2010 06:04:29 +0000 (16:04 +1000)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 3 Oct 2010 06:04:29 +0000 (16:04 +1000)
src/mod_caps.erl

index 6c17948bd912b4d6eddb435b9a620af647e33539..96233959243d33b53e2a7f2053bcd94f12aa8d95 100644 (file)
@@ -245,7 +245,7 @@ c2s_presence_in(C2SState, {From, To, {_, _, Attrs, Els}}) ->
                        {false, gb_trees:delete_any(LFrom, Rs)}
                end,
            if CapsUpdated ->
-                   ejabberd_hooks:run(caps_user_update, To#jid.lserver,
+                   ejabberd_hooks:run(caps_update, To#jid.lserver,
                                       [From, To, get_features(Caps)]);
               true ->
                    ok