summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zwgc/notice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zwgc/notice.c b/zwgc/notice.c
index 9a18392..5dc52ac 100644
--- a/zwgc/notice.c
+++ b/zwgc/notice.c
@@ -13,7 +13,7 @@
*/
#if (!defined(lint) && !defined(SABER))
-static char rcsid_notice_c[] = "$Header$";
+static char rcsid_notice_c[] = "$Id$";
#endif
#include <zephyr/mit-copyright.h>
@@ -268,7 +268,8 @@ char *decode_notice(notice)
var_set_variable("instance", notice->z_class_inst);
var_set_variable("opcode", notice->z_opcode);
var_set_variable("default", notice->z_default_format);
- var_set_variable("recipient", notice->z_recipient);
+ var_set_variable("recipient",
+ (notice->z_recipient[0]?"*":notice->z_recipient);
var_set_variable("fullsender", notice->z_sender);
var_set_variable_to_number("port", (int)notice->z_port);
var_set_variable_then_free_value("kind", z_kind_to_ascii(notice->z_kind));