]> ruin.nu Git - NDIRC.git/commitdiff
notice nick instead of channel
authorMichael Andreen <harv@ruin.nu>
Tue, 4 Sep 2007 17:27:06 +0000 (19:27 +0200)
committerMichael Andreen <harv@ruin.nu>
Tue, 4 Sep 2007 17:27:06 +0000 (19:27 +0200)
PA.pm

diff --git a/PA.pm b/PA.pm
index e6a2e330a85eaee3c6cbf6ccf68e29f684061c99..6d3ed91f22bbeec9cd2a8952bc649e5027cf7ec5 100644 (file)
--- a/PA.pm
+++ b/PA.pm
@@ -126,7 +126,7 @@ FROM ship_stats WHERE name ILIKE ?
                        $text .= " $ND::B$dead$ND::B $target[0] ($target[5]:$value),";
                }
                chop $text;
-               $ND::server->command("notice $ND::target $text");
+               $ND::server->command("notice $ND::nick $text");
        }
        #print $text;
 }
@@ -184,7 +184,7 @@ FROM ship_stats WHERE name ILIKE ?
                        $text .= " $ND::B$needed$ND::B $stopper[0] ($stopper[5]:$value),";
                }
                chop $text;
-               $ND::server->command("notice $ND::target $text");
+               $ND::server->command("notice $ND::nick $text");
        }
        #print $text;
 }