]> git.donarmstrong.com Git - infobot.git/commitdiff
FIXME: scheduler looks broken, flood join instead
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 26 Oct 2011 16:00:57 +0000 (16:00 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 26 Oct 2011 16:00:57 +0000 (16:00 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1908 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl

index 6abf6ef95e05c5c609848071a3881f092dc9c921..78bd14f4d4bc3cf02db607a3bf2a533a578e5efd 100644 (file)
@@ -463,8 +463,10 @@ sub on_endofnames {
 
     &chanServCheck($chan);
 
+    # FIXME: scheduler is b0rken! flood join for now
     # schedule used to solve ircu (OPN) 'target too fast' problems.
-    $conn->schedule( 5, sub { &joinNextChan(); } );
+    #$conn->schedule( 5, sub { &joinNextChan(); } );
+    &joinNextChan();
 }
 
 sub on_init {