PHP Code:
bool MMatchServer::ChannelChat(const MUID& uidPlayer, const MUID& uidChannel, char* pszChat){
if( uidChannel.High == IDChannel && pObj->GetAccountInfo()->m_nUGrade < 252 ) return false;
[...]
}
PHP Code:
bool MMatchServer::StageChat(const MUID& uidPlayer, const MUID& uidStage, char* pszChat){
MMatchObject* pObj = (MMatchObject*)GetObject(uidPlayer);
if ((pObj == NULL) || (pObj->GetCharInfo() == NULL) || (pObj->GetChannelUID().High == IDCHANNEL && pObj->GetAccountInfo()->m_nUGrade < 252)) return false; // Replace for it
[...]
}