Skip to content

Commit 9838fca

Browse files
author
drscholl
committed
change_pass() now reports back success to the user
1 parent d89ca5e commit 9838fca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

change.c

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ HANDLER (change_pass)
8686
FREE (db->password);
8787
db->password = generate_pass (pkt);
8888
db->timestamp = Current_Time;
89+
if (ISUSER (con))
90+
send_cmd (con, MSG_SERVER_NOSUCH, "password changed");
8991
}
9092

9193
/* 702 [ :<user> ] <email>

0 commit comments

Comments
 (0)