aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Choom 2023-02-05 18:27:23 -0300
committerLibravatar Choom 2023-02-05 20:30:28 -0300
commita11d27b37d6f6ee551bc9bb20e75b101eda53b43 (patch)
treed11dd0a0cb8c08a4ddaa40b327a7bf5baf33a027
parenteb7e5d195cf4c8f4a9d7a511f1134e8d411fc8c3 (diff)
downloadweabot-a11d27b37d6f6ee551bc9bb20e75b101eda53b43.tar.gz
weabot-a11d27b37d6f6ee551bc9bb20e75b101eda53b43.tar.xz
weabot-a11d27b37d6f6ee551bc9bb20e75b101eda53b43.zip
Saltos de linea
-rwxr-xr-xcgi/weabot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 167fee6..2efee41 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -423,7 +423,7 @@ class weabot(object):
raise UserError("El campo de asunto es muy largo.")
if len(message) > 8000:
raise UserError("El campo de mensaje es muy largo.")
- if message.count('\n') > 50:
+ if message.count('\n') > 99:
raise UserError("El mensaje tiene muchos saltos de lĂ­nea.")
# anti-spam trap