rev 1502 - trunk/siesta/lib/Siesta/Plugin

[prev] [thread] [next] [lurker] [Date index for 2004/04/06]

From: richardc
Subject: rev 1502 - trunk/siesta/lib/Siesta/Plugin
Date: 13:08 on 06 Apr 2004
Author: richardc
Date: 2004-04-06 13:08:15 +0100 (Tue, 06 Apr 2004)
New Revision: 1502

Modified:
   trunk/siesta/lib/Siesta/Plugin/NoMail.pm
Log:
gah, it's member, not user (pesky reserved words)


Modified: trunk/siesta/lib/Siesta/Plugin/NoMail.pm
===================================================================
--- trunk/siesta/lib/Siesta/Plugin/NoMail.pm	2004-04-06 12:06:39 UTC (rev 1501)
+++ trunk/siesta/lib/Siesta/Plugin/NoMail.pm	2004-04-06 12:08:15 UTC (rev 1502)
@@ -7,8 +7,8 @@
 
 sub process {
     my $self = shift;
-    # we're always personal, so don't do anything without a user
-    return unless $self->user;
+    # we're always personal, so don't do anything without a member
+    return unless $self->member;
     return $self->pref( 'nomail' );
 }
 

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52