From 4ce8e8b31649066479281b28b1e16d46a6b595eb Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 8 May 2019 20:09:34 -0700 Subject: [PATCH] Increase minimum factoid name length to 60 --- PBot/FactoidCommands.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 2d5db780..020e2f48 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -753,7 +753,7 @@ sub factmove { } } - if (length $target > 30) { + if (length $target > 60) { return "/say $nick: I don't think the factoid name needs to be that long."; } @@ -842,7 +842,7 @@ sub factalias { return "Usage: factalias [channel] "; } - if (length $alias > 30) { + if (length $alias > 60) { return "/say $nick: I don't think the factoid name needs to be that long."; } @@ -932,7 +932,7 @@ sub factadd { $from_chan = '.*' if $from_chan !~ /^#/; - if (length $keyword > 30) { + if (length $keyword > 60) { return "/say $nick: I don't think the factoid name needs to be that long."; }