Skip to content

Commit

Permalink
Rev2068, Deny blacklist add/remove in multiuse mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed May 14, 2017
1 parent d467aab commit 442c01e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/disabled-Multiuser/MultiuserPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __init__(self, *args, **kwargs):
"siteDelete", "configSet", "serverShutdown", "serverUpdate", "siteClone",
"siteSetOwned", "optionalLimitSet", "siteSetAutodownloadoptional", "dbReload", "dbRebuild",
"mergerSiteDelete", "siteSetLimit",
"muteAdd", "muteRemove"
"muteAdd", "muteRemove", "blacklistAdd", "blacklistRemove"
)
if config.multiuser_no_new_sites:
self.multiuser_denied_cmds += ("MergerSiteAdd", )
Expand Down
2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Config(object):

def __init__(self, argv):
self.version = "0.5.4"
self.rev = 2067
self.rev = 2068
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"
Expand Down

0 comments on commit 442c01e

Please sign in to comment.