Add new mail scan to mail menu

This commit is contained in:
Andrew Pamment 2016-08-13 20:19:59 +10:00
parent d9c97540d5
commit 89ba901b18
2 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -1320,7 +1320,12 @@ int mail_menu(struct user_record *user) {
lua_pop(L, 1); lua_pop(L, 1);
c = lRet[0]; c = lRet[0];
} }
switch(tolower(c)) { switch(tolower(c)) {
case '!':
{
mail_scan(user);
}
break;
case 'd': case 'd':
{ {
s_printf("\r\n"); s_printf("\r\n");