aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd.cfg.example
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd.cfg.example')
-rw-r--r--src/ejabberd.cfg.example33
1 files changed, 16 insertions, 17 deletions
diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example
index a69261f08..29a1fb1df 100644
--- a/src/ejabberd.cfg.example
+++ b/src/ejabberd.cfg.example
@@ -390,7 +390,7 @@
{access, max_user_sessions, [{10, all}]}.
%% Maximum number of offline messages that users can have:
-{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
+{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
%% This rule allows access only for local users:
{access, local, [{allow, local}]}.
@@ -443,34 +443,34 @@
%%}.
-%%%. ================
-%%%' DEFAULT LANGUAGE
+%%%. =======
+%%%' CAPTCHA
%%
-%% language: Default language used for server messages.
+%% Full path to a script that generates the image.
%%
-{language, "en"}.
+%%{captcha_cmd, "/lib/ejabberd/priv/bin/captcha.sh"}.
%%
-%% Set a different default language in a virtual host.
+%% Host part of the URL sent to the user.
%%
-%%{host_config, "localhost",
-%% [{language, "ru"}]
-%%}.
+%%{captcha_host, "example.org:5280"}.
-%%%. =======
-%%%' CAPTCHA
+%%%. ================
+%%%' DEFAULT LANGUAGE
%%
-%% Full path to a script that generates the image.
+%% language: Default language used for server messages.
%%
-%%{captcha_cmd, "/lib/ejabberd/priv/bin/captcha.sh"}.
+{language, "en"}.
%%
-%% Host part of the URL sent to the user.
+%% Set a different default language in a virtual host.
%%
-%%{captcha_host, "example.org:5280"}.
+%%{host_config, "localhost",
+%% [{language, "ru"}]
+%%}.
%%%. =======
@@ -487,7 +487,6 @@
{mod_configure,[]}, % requires mod_adhoc
{mod_disco, []},
%%{mod_echo, [{host, "echo.localhost"}]},
- {mod_irc, []},
{mod_http_bind, []},
%%{mod_http_fileserver, [
%% {docroot, "/var/www"},
@@ -511,7 +510,7 @@
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true},
{last_item_cache, false},
- {plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
+ {plugins, ["flat", "pep"]} % pep requires mod_caps
]},
{mod_register, [
%%