Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from mrepol742/master
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
mrepol742 authored Jan 15, 2024
2 parents 3a3457d + 8646b2e commit 24efd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ function redfox_fb(fca_state, login, cb) {
}
}

if ((event.type == "message" || event.type == "message_reply") && (accounts.includes(event.senderID) || event.senderID == api.getCurrentUserID())) {
if ((event.type == "message" || event.type == "message_reply") && event.senderID == api.getCurrentUserID()) {
let body = event.body;
let result = !!body.match(/^[!@#$%&*~\-=_|?+/<>:;]/);
if (result) {
Expand Down

0 comments on commit 24efd65

Please sign in to comment.