# HG changeset patch # User Stu Tomlinson # Date 1099365426 0 # Node ID 3cec08c6179c62247a83a054cf368460265a5cff # Parent d83e6f2125b1b379dd1804493c0d3f3f4ed0e03b [gaim-migrate @ 11229] If it's "probably" not good, then it's "probably" not a good idea to do it. So don't. committer: Tailor Script diff -r d83e6f2125b1 -r 3cec08c6179c src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sat Oct 30 02:28:50 2004 +0000 +++ b/src/protocols/oscar/oscar.c Tue Nov 02 03:17:06 2004 +0000 @@ -4707,6 +4707,7 @@ static int gaim_selfinfo(aim_session_t *sess, aim_frame_t *fr, ...) { GaimConnection *gc = sess->aux_data; GaimAccount *account = gaim_connection_get_account(gc); + GaimPresence *presence = gaim_account_get_presence(account); int warning_level; va_list ap; aim_userinfo_t *info; @@ -4717,12 +4718,7 @@ warning_level = info->warnlevel/10.0 + 0.5; - /* - * XXX - Calling this is probably not good. We just want to set the - * warning level for our account, not tell the user that we were just - * warned. - */ - gaim_prpl_got_account_warning_level(account, NULL, warning_level); + gaim_presence_set_warning_level(presence, warning_level); return 1; }