changeset 5238:c6973001473d

[gaim-migrate @ 5608] This fixes some people not having some of the options in the protocol actions menu for AIM. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Apr 2003 04:19:14 +0000
parents 757d680f923d
children 0ff6418fda05
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sat Apr 26 21:44:00 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Apr 27 04:19:14 2003 +0000
@@ -5884,13 +5884,11 @@
 	pam->gc = gc;
 	m = g_list_append(m, pam);
 
-	if ((od->sess->authinfo->regstatus == 0x0003) || (od->icq)) {
-		pam = g_new0(struct proto_actions_menu, 1);
-		pam->label = _("Change Password");
-		pam->callback = show_change_passwd;
-		pam->gc = gc;
-		m = g_list_append(m, pam);
-	}
+	pam = g_new0(struct proto_actions_menu, 1);
+	pam->label = _("Change Password");
+	pam->callback = show_change_passwd;
+	pam->gc = gc;
+	m = g_list_append(m, pam);
 
 	if (od->sess->authinfo->chpassurl) {
 		pam = g_new0(struct proto_actions_menu, 1);
@@ -5900,7 +5898,7 @@
 		m = g_list_append(m, pam);
 	}
 
-	if (od->sess->authinfo->regstatus == 0x0003) {
+	if (!od->icq) {
 		/* AIM actions */
 		m = g_list_append(m, NULL);