Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_configure.erl')
-rw-r--r--src/mod_configure.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_configure.erl b/src/mod_configure.erl
index 2d58d58e7..e760a3e4a 100644
--- a/src/mod_configure.erl
+++ b/src/mod_configure.erl
@@ -542,7 +542,7 @@ get_local_items({_, Host}, ["all users", [$@ | Diap]], _Server, _Lang) ->
Users ->
SUsers = lists:sort([{S, U} || {U, S} <- Users]),
case catch begin
- {ok, [S1, S2]} = regexp:split(Diap, "-"),
+ [S1, S2] = ejabberd_regexp:split(Diap, "-"),
N1 = list_to_integer(S1),
N2 = list_to_integer(S2),
Sub = lists:sublist(SUsers, N1, N2 - N1 + 1),