diff options
-rwxr-xr-x | vchat-ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -341,7 +341,7 @@ int writepriv (unsigned char *str, int maybeep) { | |||
341 | i = writescr(private, tmp); | 341 | i = writescr(private, tmp); |
342 | } | 342 | } |
343 | if( privwinhidden ) { | 343 | if( privwinhidden ) { |
344 | if( maybeep && getintoption( CF_BELLPRIV )) | 344 | if( (maybeep != 0) && (getintoption( CF_BELLPRIV ) != 0 )) |
345 | putchar( 7 ); | 345 | putchar( 7 ); |
346 | privheight_desired = privwinhidden; | 346 | privheight_desired = privwinhidden; |
347 | privwinhidden = 0; | 347 | privwinhidden = 0; |