X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FQuotes.pm;h=3353eb6a112df54326dd6690d6aae155823d1fa6;hp=c2625a8b12fa10491d93414bfa3c071a3d1080d2;hb=e8c94cdebefdc428ea92fde6db63f18d3e8399b2;hpb=1ccb344994c1b517c662da9f236cf1c640780177 diff --git a/Commands/Quotes.pm b/Commands/Quotes.pm index c2625a8..3353eb6 100644 --- a/Commands/Quotes.pm +++ b/Commands/Quotes.pm @@ -92,7 +92,7 @@ sub findquote } if ($match){ close $file; - $c->message("dcc send ".$c->nick, $file); + $c->command(dcc => $c->nick => SEND => $file); }else{ $c->reply("No quotes matching $pattern."); }