From: dms Date: Tue, 30 Jan 2001 12:46:30 +0000 (+0000) Subject: - pSReply hack for &help(). X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1637d7a4a4da3070325fb1a0cff1ff288c89574b;p=infobot.git - pSReply hack for &help(). git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@273 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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;