]> git.donarmstrong.com Git - infobot.git/commitdiff
removed/convert debug messages
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 9 Dec 2000 13:26:50 +0000 (13:26 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 9 Dec 2000 13:26:50 +0000 (13:26 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@186 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Topic.pl

index 093bdf533ef763a6779e4514f5aa0cfb17500108..84eca7bac19b20f010c1a7736b3500a269ea7d08 100644 (file)
@@ -20,7 +20,6 @@ sub topicDecipher {
   my @results;
 
   if (!exists $topic{$chan}{'Current'}) {
-    &DEBUG("Topic: does not exist for $chan.");
     return;
   }
 
@@ -42,7 +41,7 @@ sub topicDecipher {
     }
 
     if (grep /^\Q$subtopic\E\|\|\Q$owner\E$/, @results) {
-       &DEBUG("topic: we have found a dupe in the topic, not adding.");
+       &status("Topic: we have found a dupe in the topic, not adding.");
        next;
     }
 
@@ -79,11 +78,6 @@ sub topicNew {
   my ($chan, $topic, $updateMsg, $topicUpdate) = @_;
   my $maxlen = 470;
 
-  &DEBUG("topic: chan{$chan} is +t.") if ($channels{$chan}{t});
-  &DEBUG("topic: chan{$chan} is -t.") unless ($channels{$chan}{t});
-  &DEBUG("topic: I have +o.") if ($channels{$chan}{o}{$ident});
-  &DEBUG("topic: I don't have +o.") unless ($channels{$chan}{o}{$ident});
-
   if ($channels{$chan}{t} and !$channels{$chan}{o}{$ident}) {
     &msg($who, "error: cannot change topic without ops. (channel is +t) :(");
     return 0;