Mercurial > hg
changeset 1633:e3afe1da8a5f
Fix saving autowhois option in bookmarks
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 24 Oct 2009 13:24:46 +0200 |
parents | d29376ef424d |
children | 81e2d8a9106b |
files | mcabber/src/xmpp.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/xmpp.c Thu Oct 22 20:13:38 2009 +0200 +++ b/mcabber/src/xmpp.c Sat Oct 24 13:24:46 2009 +0200 @@ -2030,8 +2030,9 @@ if (pstatus) lm_message_node_add_child(x, "print_status", strprintstatus[pstatus]); if (awhois) - lm_message_node_add_child(x, "autowhois", - (awhois == autowhois_on) ? "1" : "0"); + lm_message_node_set_attributes(x, "autowhois", + (awhois == autowhois_on) ? "1" : "0", + NULL); changed = TRUE; scr_LogPrint(LPRINT_LOGNORM, "Updating bookmarks..."); }