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
1 changed files with 1 additions and 2 deletions

View File

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