diff options
Diffstat (limited to 'cgi/weabot.py')
-rwxr-xr-x | cgi/weabot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index f92e777..2ff7105 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -398,8 +398,8 @@ class weabot(object): # set the board board = setBoard(boarddir) - if board["dir"] != ["anarkia"]: - if addressIsProxy(ip): + if board["dir"] not in ["world", "bai"]: + if addressIsProxy(ip) or addressIsBannedCountry(ip): raise UserError, "Proxy prohibido en esta sección." # check length of fields |