master
Miikka Virtanen 2016-12-31 01:09:12 +02:00
parent 3974d1d0ca
commit 7c4b475cbc
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ function getModmailChannel(user, allowCreate = true) {
// Try to find a matching channel
let candidate = modMailGuild.channels.find(c => {
const info = getModmailChannelInfo(c);
console.log(`testing ${info.userId} === ${user.id}`);
return info && info.userId === user.id;
});