Skip to content

Commit

Permalink
add banned and custom user groups, from marquisite's original pull re…
Browse files Browse the repository at this point in the history
…quest 53dc6ca
  • Loading branch information
Frug committed Jul 1, 2014
1 parent 38f5474 commit 781a1f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chat/js/chat.js
Expand Up @@ -1634,6 +1634,8 @@ var ajaxChat = {
return 'admin';
case 4:
return 'chatBot';
case 5:
return 'customUser';
default:
return 'default';
}
Expand Down
2 changes: 2 additions & 0 deletions chat/lib/config.php.example
Expand Up @@ -8,6 +8,8 @@
*/

// Define AJAX Chat user roles:
define('AJAX_CHAT_BANNED', 6);
define('AJAX_CHAT_CUSTOM', 5);
define('AJAX_CHAT_CHATBOT', 4);
define('AJAX_CHAT_ADMIN', 3);
define('AJAX_CHAT_MODERATOR', 2);
Expand Down

0 comments on commit 781a1f7

Please sign in to comment.