changeset 6593:540edd51051b

[gaim-migrate @ 7117] Updated fortuneprofile.pl. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 24 Aug 2003 02:44:49 +0000
parents b1ea29d1293e
children 47744949513f
files plugins/fortuneprofile.pl
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/fortuneprofile.pl	Sun Aug 24 02:43:42 2003 +0000
+++ b/plugins/fortuneprofile.pl	Sun Aug 24 02:44:49 2003 +0000
@@ -89,7 +89,7 @@
 	# output the first message and start the timers...
 	# This is done as a timeout to prevent attempts to set the
 	# profile before logging in.
-	Gaim::timeout_add($plugin, $seconds, "update_away", NULL);
+	Gaim::timeout_add($plugin, $seconds, \&update_away, 0);
 }
 
 sub update_away {
@@ -122,7 +122,5 @@
     }
   }
 
-  Gaim::timeout_add($plugin, $seconds, "update_away", NULL);
+  Gaim::timeout_add($plugin, $seconds, \&update_away, 0);
 }
-
-