// 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.
+// disclosure is 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
}
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);
+ }
}
}