diff options
author | erdgeist <> | 2004-02-01 15:37:21 +0000 |
---|---|---|
committer | erdgeist <> | 2004-02-01 15:37:21 +0000 |
commit | 599760ac5c011c9ffc1515264ad08ca7dea98b44 (patch) | |
tree | b92116102e8ff97f6dc1affee6a5a1e8ecf4e200 /vchat-ui.c | |
parent | 00c4316e69b9a61a7fe8eb7d06247d491055d10e (diff) |
Bell on PM // Match username && username:
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); |