]> git.donarmstrong.com Git - infobot.git/commitdiff
- add some new lines, heh.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 27 Oct 2003 10:23:08 +0000 (10:23 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 27 Oct 2003 10:23:08 +0000 (10:23 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@861 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/UserDCC.pl

index ab2b08bf97aed823d2b7e5e284fd2fc137407ae5..f287c76e89e7ebb9fa9f6f77ab859e05aa8b2979 100644 (file)
@@ -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;
     }