Binato/server/Packets/RemoveFriend.js
2022-09-30 11:34:13 +01:00

3 lines
No EOL
188 B
JavaScript
Executable file

module.exports = function(CurrentUser, FriendToRemove) {
global.DatabaseHelper.query("DELETE FROM friends WHERE user = ? AND friendsWith = ? LIMIT 1", [CurrentUser.id, FriendToRemove]);
}