From 708ee91776826e2bfba235c8f72ced07d425a6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Wed, 18 Feb 2004 16:29:44 +0000 Subject: [PATCH] Actually, that is rather unnecessary. Sorry for messing up so bad today. :/ --- src/callbacks.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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