From 1637d7a4a4da3070325fb1a0cff1ff288c89574b Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 30 Jan 2001 12:46:30 +0000 Subject: [PATCH] - pSReply hack for &help(). git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@273 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Misc.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blootbot/src/Misc.pl b/blootbot/src/Misc.pl index ddda582..fe89197 100644 --- a/blootbot/src/Misc.pl +++ b/blootbot/src/Misc.pl @@ -12,6 +12,9 @@ sub help { my $file = $bot_misc_dir."/blootbot.help"; my %help = (); + # crude hack for pSReply() to work as expected. + $msgType = "private" if ($msgType eq "public"); + if (!open(FILE, $file)) { &ERROR("FAILED loadHelp ($file): $!"); return; -- 2.39.5