Boolean algebra at it again

Im studying this shit, I shouldn't make such errors ;_;
This commit is contained in:
Daniel Løvbrøtte Olsen 2016-04-06 11:25:23 +02:00
parent 2bdc5884c4
commit 9a1a5ba937

View File

@ -5,7 +5,7 @@ contract sexpool
modifier onlyMembers
{
if (msg.sender != Fredrik || msg.sender != Daniel) throw;
if (msg.sender != Fredrik && msg.sender != Daniel) throw;
_
}