summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorerdgeist <>2004-02-01 15:37:21 +0000
committererdgeist <>2004-02-01 15:37:21 +0000
commit599760ac5c011c9ffc1515264ad08ca7dea98b44 (patch)
treeb92116102e8ff97f6dc1affee6a5a1e8ecf4e200 /vchat-ui.c
parent00c4316e69b9a61a7fe8eb7d06247d491055d10e (diff)
Bell on PM // Match username && username:
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 6afbe19..289d5f5 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -324,7 +324,7 @@ int writecf (formtstr id,unsigned char *str) {
324 return i; 324 return i;
325} 325}
326 326
327int writepriv (unsigned char *str) { 327int 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);