mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-15 08:50:10 -05:00
commit
ef3da1ffbc
|
|
@ -1730,7 +1730,7 @@ function canTalk(user, room, socket) {
|
|||
}
|
||||
} else {
|
||||
if (!user.authenticated && config.modchat === true) {
|
||||
if (socket) emit(socket, 'console', 'Because moderated chat is set, you must be registered speak in lobby chat.');
|
||||
if (socket) emit(socket, 'console', 'Because moderated chat is set, you must be registered to speak in lobby chat.');
|
||||
return false;
|
||||
} else if (config.groupsranking.indexOf(user.group) < config.groupsranking.indexOf(config.modchat)) {
|
||||
var groupName = config.groups[config.modchat].name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user