Mercurial > pidgin
comparison src/protocols/zephyr/zephyr.c @ 2231:8c4ff1a368bd
[gaim-migrate @ 2241]
blue:~/gaim/app/src/protocols $ ./gtk
icq: 0
irc: 0
jabber: 52
msn: 0
napster: 0
oscar: 7
toc: 17
yahoo: 0
zephyr: 1
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 07 Sep 2001 08:09:22 +0000 |
parents | cff4fbe01c7b |
children | f5bf315e6104 |
comparison
equal
deleted
inserted
replaced
2230:cfc9abe45db2 | 2231:8c4ff1a368bd |
---|---|
718 ZSendNotice(¬ice, ZAUTH); | 718 ZSendNotice(¬ice, ZAUTH); |
719 g_free(buf); | 719 g_free(buf); |
720 return 0; | 720 return 0; |
721 } | 721 } |
722 | 722 |
723 static int zephyr_send_im(struct gaim_connection *gc, char *who, char *im, int away) { | 723 static int zephyr_send_im(struct gaim_connection *gc, char *who, char *im, int flags) { |
724 ZNotice_t notice; | 724 ZNotice_t notice; |
725 char *buf; | 725 char *buf; |
726 const char *sig; | 726 const char *sig; |
727 | 727 |
728 if (away) | 728 if (flags & IM_FLAG_AWAY) |
729 sig = "Automated reply:"; | 729 sig = "Automated reply:"; |
730 else { | 730 else { |
731 sig = ZGetVariable("zwrite-signature"); | 731 sig = ZGetVariable("zwrite-signature"); |
732 if (!sig) { | 732 if (!sig) { |
733 sig = g_get_real_name(); | 733 sig = g_get_real_name(); |