]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Misc.pl
no more pSReply
[infobot.git] / src / Misc.pl
index 6cb2e7b1fdbf36fcb8b9a7231f800c3802940a08..30222f406a7c2ffff6e7fd151342114b7a92959a 100644 (file)
@@ -16,7 +16,7 @@ sub help {
     my $file  = $bot_data_dir."/blootbot.help";
     my %help  = ();
 
-    # crude hack for pSReply() to work as expected.
+    # crude hack for performStrictReply() to work as expected.
     $msgType = "private" if ($msgType eq "public");
 
     if (!open(FILE, $file)) {
@@ -70,10 +70,10 @@ sub help {
 
     if (exists $help{$topic}) {
        foreach (split /\n/, $help{$topic}) {
-           &pSReply($_);
+           &performStrictReply($_);
        }
     } else {
-       &pSReply("no help on $topic.  Use 'help' without arguments.");
+       &performStrictReply("no help on $topic.  Use 'help' without arguments.");
     }
 
     return '';