Skip to content

Commit

Permalink
Remove unnecessary modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdossa committed May 28, 2019
1 parent b3ecdec commit d5c8c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ModuleRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ contract ModuleRegistry is IModuleRegistry, EternalStorage {
* @notice Called by the ModuleFactory owner or registry curator to delete a ModuleFactory from the registry
* @param _moduleFactory is the address of the module factory to be deleted from the registry
*/
function removeModule(address _moduleFactory) external whenNotPausedOrOwner nonReentrant {
function removeModule(address _moduleFactory) external whenNotPausedOrOwner {
uint256 moduleType = getUintValue(Encoder.getKey("registry", _moduleFactory));

require(moduleType != 0, "Module factory should be registered");
Expand Down

0 comments on commit d5c8c35

Please sign in to comment.