Changeset 247cbc9 for zephyr.c


Ignore:
Timestamp:
Feb 4, 2008, 6:20:08 PM (13 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
005fc22
Parents:
af1920fd
Message:
Add the variable 'zsender' to customize the outgoing Zephyr username.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r10e3963 r247cbc9  
    501501  }
    502502  notice.z_default_format="Class $class, Instance $instance:\nTo: @bold($recipient) at $time $date\nFrom: @bold{$1 <$sender>}\n\n$2";
    503   notice.z_sender=NULL;
     503  if (*owl_global_get_zsender(&g))
     504      notice.z_sender=owl_global_get_zsender(&g);
     505  else
     506      notice.z_sender=NULL;
    504507  if (opcode) notice.z_opcode=opcode;
    505508
Note: See TracChangeset for help on using the changeset viewer.