diff options
Diffstat (limited to 'plugins/XSoundNotify/src/xsn_main.cpp')
-rw-r--r-- | plugins/XSoundNotify/src/xsn_main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp index 9b121632ca..d8334bb002 100644 --- a/plugins/XSoundNotify/src/xsn_main.cpp +++ b/plugins/XSoundNotify/src/xsn_main.cpp @@ -162,8 +162,12 @@ static int ProcessChatEvent(WPARAM, LPARAM lParam) static int OnPlaySound(WPARAM, LPARAM)
{
- if (isIgnoreSound || isOwnSound)
+ if (isIgnoreSound)
return 1;
+ if (isOwnSound) {
+ isOwnSound = 0;
+ return 1;
+ }
return 0;
}
|