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

View File

@ -222,7 +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}`);
console.log(`testing ${info && info.userId} === ${user.id}`);
return info && info.userId === user.id;
});