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

github.com/isida/4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <dissy@ya.ru>2014-05-05 15:20:46 +0400
committerunknown <dissy@ya.ru>2014-05-05 15:20:46 +0400
commit98c8f498bc9b919aacdb598c527032ba7365ae71 (patch)
tree6dbea11b1a4cf90981efcacbb6653a6f0ce6462e
parent3ce4c35339a31daac339ebb880a8cebbf80445d1 (diff)
fix: don`t parse short words in `drink` command part 3
-rw-r--r--plugins/ai.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ai.py b/plugins/ai.py
index b3916e3..e36c40d 100644
--- a/plugins/ai.py
+++ b/plugins/ai.py
@@ -56,6 +56,7 @@ def AI_RAW(CMD, RAW, RN):
if DRINK_LOCALE in RAW_SPLIT: INIT_DRINK.append(DRINK_LOCALE)
if len(INIT_DRINK) == 2: return CMD.replace('{RAW}', ' '.join(AI_UNIQUE(INIT_DRINK))), True
else:
+ INIT_DRINK = []
ddate = readfile(date_file).decode('UTF').lower().split('\n')
for DATE in ddate:
DATE_SPLIT = DATE.split()