// Copyright (c) 1987-2017 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
if (r / 100 == 2) {
extract_token(diruser, buf, 0, '@', sizeof diruser);
extract_token(dirnode, buf, 1, '@', sizeof dirnode);
- striplt(diruser);
- striplt(dirnode);
+ string_trim(diruser);
+ string_trim(dirnode);
if ((strcasecmp(diruser, fullname))
|| (strcasecmp(dirnode, ipc->ServInfo.nodename))) {
scr_printf("\nYou can't use %s as your address.\n", tmpemail);