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

3 lines
No EOL
171 B
JavaScript
Executable file

module.exports = function(CurrentUser, Message) {
global.DatabaseHelper.query("UPDATE users_info SET away_message = ? WHERE id = ?", [Message.message, CurrentUser.id]);
}