Changeset 21882032


Ignore:
Timestamp:
Feb 20, 2009, 12:44:57 AM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
af9de56
Parents:
10d67d5
git-author:
Chris Lesniewski-Laas <ctl@MIT.EDU> (02/19/09 20:37:12)
git-committer:
Nelson Elhage <nelhage@mit.edu> (02/20/09 00:44:57)
Message:
Only use zsender when not sending personals.

Acked-by: Geoffrey Thomas <geofft@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r52a0f14 r21882032  
    637637  notice.z_class=class;
    638638  notice.z_class_inst=instance;
     639  notice.z_sender=NULL;
    639640  if (!strcmp(recipient, "*") || !strcmp(recipient, "@")) {
    640641    notice.z_recipient="";
     642    if (*owl_global_get_zsender(&g))
     643        notice.z_sender=owl_global_get_zsender(&g);
    641644  } else {
    642645    notice.z_recipient=recipient;
    643646  }
    644647  notice.z_default_format="Class $class, Instance $instance:\nTo: @bold($recipient) at $time $date\nFrom: @bold{$1 <$sender>}\n\n$2";
    645   if (*owl_global_get_zsender(&g))
    646       notice.z_sender=owl_global_get_zsender(&g);
    647   else
    648       notice.z_sender=NULL;
    649648  if (opcode) notice.z_opcode=opcode;
    650649
Note: See TracChangeset for help on using the changeset viewer.