From afcb4a0f987e22e3f8705ac820df8b039d93d79f Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 17 Jun 2020 04:11:18 -0700 Subject: [PATCH] Factoids: unescape certain symbols after expansion --- PBot/Factoids.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 7c41a7e8..ce3558b0 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -888,8 +888,8 @@ sub expand_factoid_vars { $result = $self->expand_special_vars($from, $nick, $root_keyword, $result); - $result =~ s/\\\$/\$/g; - $result =~ s/(?{pbot}->{registry}->get_value('factoids', 'max_content_length')); }