From: dms Date: Mon, 27 Oct 2003 10:23:08 +0000 (+0000) Subject: - add some new lines, heh. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7f71af278e5441800e249fb86c22d51c67bc21e0;p=infobot.git - add some new lines, heh. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@861 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/UserDCC.pl b/blootbot/src/Modules/UserDCC.pl index ab2b08b..f287c76 100644 --- a/blootbot/src/Modules/UserDCC.pl +++ b/blootbot/src/Modules/UserDCC.pl @@ -336,13 +336,16 @@ sub userDCC { if ($message =~ s/^say\s+(\S+)\s+(.*)//) { return unless (&hasFlag("o")); my ($chan,$msg) = (lc $1, $2); + &DEBUG("chan => '$1', msg => '$msg'."); + # todo: add nick destination. if (&validChan($chan)) { &msg($chan, $msg); } else { &msg($who,"i'm not on \002$chan\002, sorry."); } + return; }