From: dms Date: Sat, 9 Dec 2000 13:26:50 +0000 (+0000) Subject: removed/convert debug messages X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ad2c3ea8b6f00cdc680d7be31bf8ea2212618c2b;p=infobot.git removed/convert debug messages git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@186 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Topic.pl b/src/Modules/Topic.pl index 093bdf5..84eca7b 100644 --- a/src/Modules/Topic.pl +++ b/src/Modules/Topic.pl @@ -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;