Compare commits

..

No commits in common. "50263b2b56b9db0a887ae2aa550ef008bf04dc2e" and "761078bf19349be0479f92b0fb0c58e1dde40d34" have entirely different histories.

3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "schat2-clive",
"version": "1.23.2",
"version": "1.23.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.23.2",
"version": "1.23.1",
"license": "ISC",
"dependencies": {
"bhttp": "^1.2.8",

View File

@ -1,6 +1,6 @@
{
"name": "schat2-clive",
"version": "1.23.2",
"version": "1.23.1",
"description": "Game host for SChat 2-powered chat sites",
"main": "src/app.js",
"scripts": {

View File

@ -243,7 +243,7 @@ function onMessage(message, bot, games) {
}
}
if (message.type === 'message' && user?.username !== config.user.username) {
if (message.type === 'message' && user.username !== config.user.username) {
Object.values(Object.fromEntries(Object.values(games).map((game) => [game.key, game]))).forEach((game) => game.onMessage?.(message, {
...game,
bot,