aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_riak.erl
diff options
context:
space:
mode:
authorKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:42:05 +0300
committerKonstantinos Kallas <konstantinos.kallas@hotmail.com>2017-08-19 13:42:05 +0300
commitf581e391ac71106090c8a79ba915b614cf833587 (patch)
treef80098cdbc46fcebbd039ab69c0000798b8f23ca /src/mod_muc_riak.erl
parentMerge remove_account_option branch (diff)
parentApply cosmetic changes to previous commit (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/mod_muc_riak.erl')
-rw-r--r--src/mod_muc_riak.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_riak.erl b/src/mod_muc_riak.erl
index 8dd1eddf8..42e644fdd 100644
--- a/src/mod_muc_riak.erl
+++ b/src/mod_muc_riak.erl
@@ -60,7 +60,7 @@ restore_room(_LServer, Host, Name) ->
forget_room(_LServer, Host, Name) ->
{atomic, ejabberd_riak:delete(muc_room, {Name, Host})}.
-can_use_nick(LServer, Host, JID, Nick) ->
+can_use_nick(_LServer, Host, JID, Nick) ->
{LUser, LServer, _} = jid:tolower(JID),
LUS = {LUser, LServer},
case ejabberd_riak:get_by_index(muc_registered,