Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/istrue.py')
-rw-r--r--plugins/istrue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/istrue.py b/plugins/istrue.py
index 3e7380e..3254247 100644
--- a/plugins/istrue.py
+++ b/plugins/istrue.py
@@ -45,7 +45,7 @@ def is_valid(type, jid, nick, text):
else: msg += L('Equally','%s/%s'%(jid,nick))
def repl(t): return '[%s]' % t.group()
- msg += ' - %s' % re.sub([u'([а-яё]+)','([a-z]+)'][hl==1],repl,text,flags=re.S+re.U+re.I)
+ msg += ' - %s' % re.sub([u'([а-яё]+)','([a-z]+)'][hl==1],repl,text,flags=re.S|re.I|re.U)
send_msg(type, jid, nick, msg)