From 3034e7118f8103bf971b9547a01609e9a5a25e44 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 25 Aug 2019 00:05:51 -0700 Subject: [PATCH] Fix minor typo --- PBot/FuncCommand.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/FuncCommand.pm b/PBot/FuncCommand.pm index 723994c2..769d0475 100644 --- a/PBot/FuncCommand.pm +++ b/PBot/FuncCommand.pm @@ -9,10 +9,10 @@ # # For example: # -# factadd img /call echo https://google.com/search?q=&{func uri_encode $args}&tbm=isch +# factadd img /call echo https://google.com/search?q=&{func uri_escape $args}&tbm=isch # -# The above would invoke the function 'urlencode' on $args and then replace -# the command-substitution with the result, thus encoding $args to be safely +# The above would invoke the function 'uri_escape' on $args and then replace +# the command-substitution with the result, thus escaping $args to be safely # used in the URL of this simple Google Image Search factoid command. # This Source Code Form is subject to the terms of the Mozilla Public