From 9a1a5ba9372ab35046e7bcf9e577839120641e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 6 Apr 2016 11:25:23 +0200 Subject: [PATCH] Boolean algebra at it again Im studying this shit, I shouldn't make such errors ;_; --- Ethereum/Contracts/Sexpool.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ethereum/Contracts/Sexpool.sol b/Ethereum/Contracts/Sexpool.sol index 5da4b5b..8641b9d 100644 --- a/Ethereum/Contracts/Sexpool.sol +++ b/Ethereum/Contracts/Sexpool.sol @@ -5,7 +5,7 @@ contract sexpool modifier onlyMembers { - if (msg.sender != Fredrik || msg.sender != Daniel) throw; + if (msg.sender != Fredrik && msg.sender != Daniel) throw; _ }