외교 메시지 삭제 조건 완화

This commit is contained in:
2019-01-25 19:32:13 +09:00
parent 7a5efa938b
commit fa2e3f18d6
+2 -2
View File
@@ -275,8 +275,8 @@ class Message
return '본인의 메시지만 삭제할 수 있습니다.';
}
if($msgObj->msgType == Message::MSGTYPE_DIPLOMACY){
return '외교 메시지는 삭제할 수 없습니다.';
if($msgObj instanceof DiplomaticMessage){
return '시스템 외교 메시지는 삭제할 수 없습니다.';
}
$prev5min = new \DateTime();