From: timriker Date: Wed, 7 Mar 2007 17:25:09 +0000 (+0000) Subject: are we ops or not? X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=35f9b6953289797b38ff78b09c030ac43e52839b;p=infobot.git are we ops or not? git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1303 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/UserDCC.pl b/blootbot/src/Modules/UserDCC.pl index b7f56eb..6403c25 100644 --- a/blootbot/src/Modules/UserDCC.pl +++ b/blootbot/src/Modules/UserDCC.pl @@ -357,12 +357,7 @@ sub userDCC { &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."); - } + &msg($chan, $msg); return; } @@ -374,12 +369,7 @@ sub userDCC { &DEBUG("chan => '$1', msg => '$msg'."); - # TODO: add nick destination. - if (&validChan($chan)) { - &action($chan, $msg); - } else { - &msg($who,"i'm not on \002$chan\002, sorry."); - } + &action($chan, $msg); return; }