From b007cb3b9d0b8bc0375f5a385aa10803200ed941 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 19 Apr 2020 14:47:30 -0700 Subject: [PATCH] MessageHistory: Increase in-channel `recall` message limit to ~5 --- PBot/MessageHistory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/MessageHistory.pm b/PBot/MessageHistory.pm index 53941937..4cda7a4c 100644 --- a/PBot/MessageHistory.pm +++ b/PBot/MessageHistory.pm @@ -342,7 +342,7 @@ sub recall_message { if (not defined $context_account) { return "I don't know anybody named $recall_context."; } } - if ($from =~ /^#/ and ($recall_count > 2 or $recall_after > 2 or $recall_before > 2)) { + if ($from =~ /^#/ and ($recall_count > 5 or $recall_after > 5 or $recall_before > 5)) { return "Please use `recall` from private message when recalling multiple messages. Just add \"-c $from\" to the command and /msg it to me."; }