From 1bbeb4f50dda83b8d272588cc7cd7cf2b4920bff Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 26 Dec 2021 18:46:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B8=89=EC=8A=B5=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=8C=80=EC=83=81=EA=B5=AD=EC=97=90=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=EA=B0=80=20=EB=9C=A8=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/Nation/che_급습.php | 2 +- hwe/sammo/Command/Nation/che_이호경식.php | 2 +- hwe/sammo/Command/Nation/che_피장파장.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hwe/sammo/Command/Nation/che_급습.php b/hwe/sammo/Command/Nation/che_급습.php index a68a69e1..afa008a9 100644 --- a/hwe/sammo/Command/Nation/che_급습.php +++ b/hwe/sammo/Command/Nation/che_급습.php @@ -171,7 +171,7 @@ class che_급습 extends Command\NationCommand $broadcastMessage = "아국에 {$commandName}{$josaYiCommand} 발동되었습니다."; - $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i AND no != %i', $nationID, $generalID); + $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i', $destNationID); foreach ($destNationGeneralList as $destNationGeneralID) { $destNationGeneralLogger = new ActionLogger($destNationGeneralID, $destNationID, $year, $month); $destNationGeneralLogger->pushGeneralActionLog($broadcastMessage, ActionLogger::PLAIN); diff --git a/hwe/sammo/Command/Nation/che_이호경식.php b/hwe/sammo/Command/Nation/che_이호경식.php index f856d6e6..2773e7df 100644 --- a/hwe/sammo/Command/Nation/che_이호경식.php +++ b/hwe/sammo/Command/Nation/che_이호경식.php @@ -168,7 +168,7 @@ class che_이호경식 extends Command\NationCommand $broadcastMessage = "아국에 {$commandName}{$josaYiCommand} 발동되었습니다."; - $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i AND no != %i', $destNationID, $generalID); + $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i', $destNationID); foreach ($destNationGeneralList as $destNationGeneralID) { $destNationGeneralLogger = new ActionLogger($destNationGeneralID, $destNationID, $year, $month); $destNationGeneralLogger->pushGeneralActionLog($broadcastMessage, ActionLogger::PLAIN); diff --git a/hwe/sammo/Command/Nation/che_피장파장.php b/hwe/sammo/Command/Nation/che_피장파장.php index 9776ca28..5a050e31 100644 --- a/hwe/sammo/Command/Nation/che_피장파장.php +++ b/hwe/sammo/Command/Nation/che_피장파장.php @@ -212,7 +212,7 @@ class che_피장파장 extends Command\NationCommand $broadcastMessage = "아국에 {$cmd->getName()} 전략의 {$commandName}{$josaYiCommand} 발동되었습니다."; - $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i AND no != %i', $destNationID, $generalID); + $destNationGeneralList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i', $destNationID); foreach ($destNationGeneralList as $destNationGeneralID) { $destNationGeneralLogger = new ActionLogger($destNationGeneralID, $destNationID, $year, $month); $destNationGeneralLogger->pushGeneralActionLog($broadcastMessage, ActionLogger::PLAIN);