From: timriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
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=e7abbfacefe95bd090277f639c136325dcef4cbb;p=infobot.git

are we ops or not?

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1303 c11ca15a-4712-0410-83d8-924469b57eb5
---

diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl
index b7f56eb..6403c25 100644
--- a/src/Modules/UserDCC.pl
+++ b/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;
     }