Finished up with channel rank/perms frontend.
This commit is contained in:
parent
edb4215929
commit
796bb033a7
22 changed files with 472 additions and 57 deletions
|
|
@ -16,7 +16,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
|
||||
//Local Imports
|
||||
const channelModel = require('../../schemas/channel/channelSchema');
|
||||
const flairModel = require('../../schemas/flairSchema');
|
||||
const userModel = require('../../schemas/userSchema');
|
||||
const loggerUtils = require('../../utils/loggerUtils');
|
||||
const activeChannel = require('./activeChannel');
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ module.exports = class{
|
|||
|
||||
async setFlair(socket, data){
|
||||
var userDB = await userModel.findOne({user: socket.user.user});
|
||||
const chanList = this.server.getConnectedChannels(socket)
|
||||
|
||||
if(userDB){
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue