Skip to content

Commit

Permalink
fix: correct parameter order on irc-brige
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogarim committed Sep 16, 2024
1 parent 48d9e42 commit e294569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/irc/server/irc-bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class Bridge {
// Chatting
callbacks.add(
'afterSaveMessage',
this.onMessageReceived.bind(this, 'local', 'onSaveMessage'),
(message, { room }) => this.onMessageReceived.bind(this, 'local', 'onSaveMessage')(message, room),
callbacks.priority.LOW,
'irc-on-save-message',
);
Expand Down

0 comments on commit e294569

Please sign in to comment.