[482] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r606 - trunk/owl

daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:06:39 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Mon, 12 Feb 2007 22:04:13 -0500 (EST)

Author: asedeno
Date: 2007-02-12 22:04:13 -0500 (Mon, 12 Feb 2007)
New Revision: 606

Modified:
   trunk/owl/perlwrap.pm
Log:
Getting rid of bogus warnings about mainloop_hook.
Fixing a typo.



Modified: trunk/owl/perlwrap.pm
===================================================================
--- trunk/owl/perlwrap.pm	2007-02-11 15:36:00 UTC (rev 605)
+++ trunk/owl/perlwrap.pm	2007-02-13 03:04:13 UTC (rev 606)
@@ -323,9 +323,9 @@
     # Use $reload to tell modules that we're performing a reload.
   {
       local $reload = 1;
-      BarnOwl::mainloop_hook();
+      BarnOwl::mainloop_hook() if *BarnOwl::mainloop_hook{CODE};
   }
-    
+
   @BarnOwl::Hooks::onMainLoop = ();
   @BarnOwl::Hooks::onStartSubs = ();
 
@@ -430,7 +430,7 @@
 sub mainloop_hook
 {
     runHook(\@onMainLoop);
-    BarnOwl::mainlook_hook() if *BarnOwl::mainloop_hook{CODE};
+    BarnOwl::mainloop_hook() if *BarnOwl::mainloop_hook{CODE};
 }
 
 ################################################################################


home help back first fref pref prev next nref lref last post