diff options
Diffstat (limited to 'src/mod_vcard_ldap.erl')
-rw-r--r-- | src/mod_vcard_ldap.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_vcard_ldap.erl b/src/mod_vcard_ldap.erl index 51de22e4c..acfd0a052 100644 --- a/src/mod_vcard_ldap.erl +++ b/src/mod_vcard_ldap.erl @@ -38,7 +38,6 @@ -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). --include("ejabberd.hrl"). -include("logger.hrl"). -include("eldap.hrl"). -include("xmpp.hrl"). @@ -159,7 +158,7 @@ search_items(Entries, State) -> Attrs, VCardMap, {Username, - ?MYNAME})} + ejabberd_config:get_myname()})} end, SearchReported), J = <<Username/binary, $@, LServer/binary>>, |