mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
commit
0a7cd63aab
|
@ -316,7 +316,7 @@ function pushMessage(args) {
|
|||
|
||||
if (
|
||||
typeof (myNick) === 'string' && (
|
||||
args.text.match(new RegExp('@' + myNick.split('#')[0], "gi")) ||
|
||||
args.text.match(new RegExp('@' + myNick.split('#')[0] + '\\b', "gi")) ||
|
||||
((args.type === "whisper" || args.type === "invite") && args.from)
|
||||
)
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user