Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit a53829d3 authored by Rob Swindell's avatar Rob Swindell 💬

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
......@@ -616,7 +616,6 @@ void sbbs_t::useredit(int usernumber)
user.number=i;
getuserdat(&cfg,&user);
if(chk_ar(ar,&user,/* client: */NULL)) {
outchar(BEL);
break;
}
}
......@@ -636,7 +635,6 @@ void sbbs_t::useredit(int usernumber)
user.number=i;
getuserdat(&cfg,&user);
if(chk_ar(ar,&user,/* client: */NULL)) {
outchar(BEL);
break;
}
}
......@@ -716,7 +714,6 @@ int sbbs_t::searchup(char *search,int usernum)
userdat[U_LEN]=0;
strupr(userdat);
if(strstr(userdat,search)) {
outchar(BEL);
close(file);
return(i);
}
......@@ -770,7 +767,6 @@ int sbbs_t::searchdn(char *search,int usernum)
userdat[U_LEN]=0;
strupr(userdat);
if(strstr(userdat,search)) {
outchar(BEL);
close(file);
return(i);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment