diff options
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-x | vchat-ui.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -324,7 +324,7 @@ int writecf (formtstr id,unsigned char *str) { | |||
324 | return i; | 324 | return i; |
325 | } | 325 | } |
326 | 326 | ||
327 | int writepriv (unsigned char *str) { | 327 | int writepriv (unsigned char *str, int maybeep) { |
328 | int i = 0; | 328 | int i = 0; |
329 | if (private) { | 329 | if (private) { |
330 | 330 | ||
@@ -341,6 +341,8 @@ int writepriv (unsigned char *str) { | |||
341 | i = writescr(private, tmp); | 341 | i = writescr(private, tmp); |
342 | } | 342 | } |
343 | if( privwinhidden ) { | 343 | if( privwinhidden ) { |
344 | if( maybeep && getintoption( CF_BELLPRIV )) | ||
345 | putchar( 7 ); | ||
344 | privheight_desired = privwinhidden; | 346 | privheight_desired = privwinhidden; |
345 | privwinhidden = 0; | 347 | privwinhidden = 0; |
346 | resize(0); | 348 | resize(0); |