fix: General객체에서 permission과 penalty를 받아오지 않는 버그

This commit is contained in:
2023-03-09 02:20:15 +09:00
parent 245d363c99
commit 951143120b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -76,6 +76,7 @@ class GetFrontInfo extends \sammo\BaseAPI
'conlimit',
]);
$lastVote = null;
if ($lastVoteID) {
$voteStor = KVStorage::getStorage($db, 'vote');
$lastVote = VoteInfo::fromArray($voteStor->getValue("vote_{$lastVoteID}"));
+1 -1
View File
@@ -1082,7 +1082,7 @@ class General implements iAction
'personal', 'special', 'special2', 'defence_train', 'tnmt', 'npc', 'npc_org', 'deadyear', 'npcmsg',
'dex1', 'dex2', 'dex3', 'dex4', 'dex5', 'betray',
'recent_war', 'last_turn', 'myset',
'specage', 'specage2', 'con', 'connect', 'aux', 'lastrefresh',
'specage', 'specage2', 'con', 'connect', 'aux', 'lastrefresh', 'permission', 'penalty',
];
if ($reqColumns === null) {