summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2009-03-15 18:39:20 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2009-03-15 18:39:20 +0000
commitff385ade8355ce6c685bbabd83c550fbb3c58f82 (patch)
treee4b064412a940072b9910e23be6bda6947166efe /zwgc
parentb3e575112d05c12cb7f3ef280bd268e18744f8ed (diff)
charset in zwrite, incomplete in zwgc
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/notice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zwgc/notice.c b/zwgc/notice.c
index b3a660c..ca257cd 100644
--- a/zwgc/notice.c
+++ b/zwgc/notice.c
@@ -265,6 +265,7 @@ decode_notice(ZNotice_t *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("charset", ZCharsetToString(notice->z_charset));
var_set_variable("recipient",
(notice->z_recipient[0] ? notice->z_recipient : "*"));
var_set_variable("fullsender", notice->z_sender);