Boolean algebra at it again
Im studying this shit, I shouldn't make such errors ;_;
This commit is contained in:
@@ -5,7 +5,7 @@ contract sexpool
|
||||
|
||||
modifier onlyMembers
|
||||
{
|
||||
if (msg.sender != Fredrik || msg.sender != Daniel) throw;
|
||||
if (msg.sender != Fredrik && msg.sender != Daniel) throw;
|
||||
_
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user