]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/IrcHooks.pl
chanset: fixed the following problem.
[infobot.git] / src / IRC / IrcHooks.pl
index 6e451155a6815d85c5a749151fa9f835d2383fe0..d8483ef96b69dbfe9cdd0be92803c6350f279721 100644 (file)
@@ -848,11 +848,10 @@ sub on_targettoofast {
 
     ### TODO: incomplete.
 ###    .* wait (\d+) second/) {
-       &status("on_ttf: X1 $msg") if (defined $msg);
+       &status("on_ttf: X1 $why") if (defined $why);
        my $sleep = 5;
        &status("targettoofast: going to sleep for $sleep...");
        sleep $sleep;
-       &joinNextChan();
 ### }
 }