mod_sip: Fix compilation without SIP support

Make sure the T() macro is also defined when ejabberd is compiled
without SIP support.

Fixes #3143.
This commit is contained in:
Holger Weiss 2020-01-11 20:27:16 +01:00
parent f341699250
commit 6531fbb0f3
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,7 @@
-protocol({rfc, 3261}).
-include("logger.hrl").
-include("translate.hrl").
-ifndef(SIP).
-export([start/2, stop/1, depends/2, mod_options/1, mod_doc/0]).
@ -53,7 +54,6 @@ mod_options(_) ->
mod_doc/0]).
-include_lib("esip/include/esip.hrl").
-include("translate.hrl").
%%%===================================================================
%%% API