diff --git a/src/callbacks.py b/src/callbacks.py index b34894a48..f6c459a9c 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -187,13 +187,10 @@ class Tokenizer: token = lexer.get_token() if not token: raise SyntaxError, 'Missing "]"' - elif conf.supybot.bracketSyntax(): - if token == ']': - return ret - elif token == '[': - ret.append(self._insideBrackets(lexer)) - else: - ret.append(self._handleToken(token)) + elif token == ']': + return ret + elif token == '[': + ret.append(self._insideBrackets(lexer)) else: ret.append(self._handleToken(token)) return ret