1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

s/;$// ... this is not C

This commit is contained in:
urlbot
2014-08-01 20:16:32 +02:00
parent 6a5a90eafc
commit 3e2c9e4fcf

View File

@@ -115,15 +115,15 @@ def extract_url(data):
chat_write(message) chat_write(message)
def mental_ill(data): def mental_ill(data):
min_ill = 3; min_ill = 3
c = 0; c = 0
# return True for min_ill '!' in a row # return True for min_ill '!' in a row
for d in data: for d in data:
if '!' == d or '?' == d: if '!' == d or '?' == d:
c += 1 c += 1
else: else:
c = 0; c = 0
if (min_ill <= c): if (min_ill <= c):
return True return True