25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Fix dialyzer warnings

This commit is contained in:
Evgeniy Khramtsov 2011-09-05 22:00:50 +10:00
parent 6b0eb1f09d
commit 0fde148a9f

View File

@ -30,6 +30,7 @@
-behaviour(gen_mod). -behaviour(gen_mod).
-export([start/2, stop/1, -export([start/2, stop/1,
item_to_xml/1,
webadmin_menu/3, webadmin_page/3, webadmin_menu/3, webadmin_page/3,
get_user_roster/2, get_user_roster/2,
get_subscription_lists/3, get_subscription_lists/3,
@ -726,8 +727,6 @@ displayed_to_groups(GroupName, LServer) ->
lists:member(GroupName, proplists:get_value(displayed_groups, Opts, [])) lists:member(GroupName, proplists:get_value(displayed_groups, Opts, []))
end, GroupsOpts). end, GroupsOpts).
push_item(_User, _Server, _From, none) ->
ok;
push_item(User, Server, From, Item) -> push_item(User, Server, From, Item) ->
%% It was %% It was
%% ejabberd_sm:route(jlib:make_jid("", "", ""), %% ejabberd_sm:route(jlib:make_jid("", "", ""),