25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix "unused variable" warning

This commit is contained in:
Holger Weiss 2016-06-03 12:58:20 +02:00
parent 0503d899cf
commit 5c1db176a9

View File

@ -3200,7 +3200,7 @@ send_kickban_presence1(MJID, UJID, Reason, Code, Affiliation,
end, end,
(?DICT):to_list(StateData#state.users)). (?DICT):to_list(StateData#state.users)).
get_actor_nick(<<"">>, StateData) -> get_actor_nick(<<"">>, _StateData) ->
<<"">>; <<"">>;
get_actor_nick(MJID, StateData) -> get_actor_nick(MJID, StateData) ->
case (?DICT):find(jid:tolower(MJID), StateData#state.users) of case (?DICT):find(jid:tolower(MJID), StateData#state.users) of