Skip to content
Snippets Groups Projects
Commit a53829d3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Stop beeping at the sysop when user-searches are successful.

If anything, I suppose would be beep if a search fails, but really, I think beeps are kind of annoying these days. Not changing the currently selected/viewed user is likely all that's really needed to indicate a search failure.
parent 02448be2
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -616,7 +616,6 @@ void sbbs_t::useredit(int usernumber) ...@@ -616,7 +616,6 @@ void sbbs_t::useredit(int usernumber)
user.number=i; user.number=i;
getuserdat(&cfg,&user); getuserdat(&cfg,&user);
if(chk_ar(ar,&user,/* client: */NULL)) { if(chk_ar(ar,&user,/* client: */NULL)) {
outchar(BEL);
break; break;
} }
} }
...@@ -636,7 +635,6 @@ void sbbs_t::useredit(int usernumber) ...@@ -636,7 +635,6 @@ void sbbs_t::useredit(int usernumber)
user.number=i; user.number=i;
getuserdat(&cfg,&user); getuserdat(&cfg,&user);
if(chk_ar(ar,&user,/* client: */NULL)) { if(chk_ar(ar,&user,/* client: */NULL)) {
outchar(BEL);
break; break;
} }
} }
...@@ -716,7 +714,6 @@ int sbbs_t::searchup(char *search,int usernum) ...@@ -716,7 +714,6 @@ int sbbs_t::searchup(char *search,int usernum)
userdat[U_LEN]=0; userdat[U_LEN]=0;
strupr(userdat); strupr(userdat);
if(strstr(userdat,search)) { if(strstr(userdat,search)) {
outchar(BEL);
close(file); close(file);
return(i); return(i);
} }
...@@ -770,7 +767,6 @@ int sbbs_t::searchdn(char *search,int usernum) ...@@ -770,7 +767,6 @@ int sbbs_t::searchdn(char *search,int usernum)
userdat[U_LEN]=0; userdat[U_LEN]=0;
strupr(userdat); strupr(userdat);
if(strstr(userdat,search)) { if(strstr(userdat,search)) {
outchar(BEL);
close(file); close(file);
return(i); return(i);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment