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

Update ejabberd_sm_redis.erl

This commit is contained in:
satish-olx 2018-07-12 16:14:26 +05:30 committed by GitHub
parent 96e35a3248
commit 6fc6bdefc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,6 @@
-export([init/1, handle_cast/2, handle_call/3, handle_info/2, -export([init/1, handle_cast/2, handle_call/3, handle_info/2,
terminate/2, code_change/3, start_link/0]). terminate/2, code_change/3, start_link/0]).
-include("ejabberd.hrl").
-include("ejabberd_sm.hrl"). -include("ejabberd_sm.hrl").
-include("logger.hrl"). -include("logger.hrl").
@ -160,7 +159,7 @@ handle_info({redis_message, ?SM_KEY, Data}, State) ->
end, end,
{noreply, State}; {noreply, State};
handle_info(Info, State) -> handle_info(Info, State) ->
?ERROR_MSG("unexpected info: ~p in cluster server", [Info]), ?ERROR_MSG("unexpected info: ~p ", [Info]),
{noreply, State}. {noreply, State}.
terminate(_Reason, _State) -> terminate(_Reason, _State) ->