25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +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,
(?DICT):to_list(StateData#state.users)).
get_actor_nick(<<"">>, StateData) ->
get_actor_nick(<<"">>, _StateData) ->
<<"">>;
get_actor_nick(MJID, StateData) ->
case (?DICT):find(jid:tolower(MJID), StateData#state.users) of