X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Froutines.c;h=3daaa3da86f06f1ca03565c25103278fec5e2238;hb=HEAD;hp=3a04cbe7c15d16bed2a3313a0e29c7d269077b04;hpb=824659b91bb38193d9a977eae8a4c6113dfd4041;p=citadel.git diff --git a/textclient/routines.c b/textclient/routines.c index 3a04cbe7c..ab9254eb4 100644 --- a/textclient/routines.c +++ b/textclient/routines.c @@ -2,13 +2,7 @@ // // Copyright (c) 1987-2016 by the citadel.org team // -// This program is open source software. Use, duplication, and/or -// disclosure are subject to the GNU General Purpose License version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License version 3. #include "textclient.h" @@ -237,8 +231,10 @@ void edituser(CtdlIPC * ipc, int cmd) { } free(user); - if (boolprompt("Edit this user's Internet email addresses", 0)) { - edit_user_internet_email_addresses(ipc, who); + if (cmd == 25) { // user edit + if (boolprompt("Edit this user's Internet email addresses", 0)) { + edit_user_internet_email_addresses(ipc, who); + } } }