[256] in BarnOwl Developers
[D-O-H] r431 - trunk/owl
daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:04:11 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Sun, 29 Oct 2006 20:40:36 -0500 (EST)
Author: nelhage
Date: 2006-10-29 20:40:36 -0500 (Sun, 29 Oct 2006)
New Revision: 431
Modified:
trunk/owl/functions.c
Log:
Adding a perl hook to the blist function.
Modified: trunk/owl/functions.c
===================================================================
--- trunk/owl/functions.c 2006-10-30 00:35:42 UTC (rev 430)
+++ trunk/owl/functions.c 2006-10-30 01:40:36 UTC (rev 431)
@@ -3306,6 +3306,14 @@
owl_list_free_all(&anyone, owl_free);
}
#endif
+
+ if(owl_perlconfig_is_function("owl::get_blist")) {
+ char * perlblist = owl_perlconfig_execute("owl::get_blist()");
+ if(perlblist) {
+ owl_fmtext_append_ztext(&fm, perlblist);
+ owl_free(perlblist);
+ }
+ }
owl_function_popless_fmtext(&fm);
owl_fmtext_free(&fm);