From f4b39dc5d604222638be2fada25c6e96d7ec502e Mon Sep 17 00:00:00 2001 From: dms Date: Mon, 27 Oct 2003 10:23:08 +0000 Subject: [PATCH] - add some new lines, heh. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@861 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/UserDCC.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index ab2b08b..f287c76 100644 --- a/src/Modules/UserDCC.pl +++ b/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; } -- 2.39.2