diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
commit | a3e0cbbdd8a3ec4bbfa17e5147c59978021fc0b5 (patch) | |
tree | 6a00378671ffaee338317c403b46b6a5ecad5ce1 /src/mod_vcard.erl | |
parent | Check if mod_last is loaded before calling its functions (diff) |
Make logging messages more consistent
Diffstat (limited to 'src/mod_vcard.erl')
-rw-r--r-- | src/mod_vcard.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl index 8c337528f..0474f644c 100644 --- a/src/mod_vcard.erl +++ b/src/mod_vcard.erl @@ -117,7 +117,7 @@ init([Host, Opts]) -> process_local_iq_info), case Mod:is_search_supported(Host) of false -> - ?WARNING_MSG("vcard search functionality is " + ?WARNING_MSG("vCard search functionality is " "not implemented for ~s backend", [mod_vcard_opt:db_type(Opts)]); true -> @@ -133,7 +133,7 @@ handle_call(_Call, _From, State) -> {noreply, State}. handle_cast(Cast, State) -> - ?WARNING_MSG("unexpected cast: ~p", [Cast]), + ?WARNING_MSG("Unexpected cast: ~p", [Cast]), {noreply, State}. handle_info({route, Packet}, State) -> @@ -143,7 +143,7 @@ handle_info({route, Packet}, State) -> end, {noreply, State}; handle_info(Info, State) -> - ?WARNING_MSG("unexpected info: ~p", [Info]), + ?WARNING_MSG("Unexpected info: ~p", [Info]), {noreply, State}. terminate(_Reason, #state{hosts = MyHosts, server_host = Host}) -> |