Compare commits

..

No commits in common. "5ec5711288aa9a129743b4f0670e6ca8fbf92e0b" and "83a18e9377e0937571909aa2cd0e38c58ae2596a" 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.12.3",
"version": "1.12.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.12.3",
"version": "1.12.2",
"license": "ISC",
"dependencies": {
"bhttp": "^1.2.8",

View File

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

View File

@ -151,7 +151,7 @@ function onCommand(args, context) {
}
function onMessage(message, context) {
const game = games.get(context.room?.id);
const game = games.get(context.room.id);
if (message.type !== 'message' || context.user?.id === config.user?.id) { // stop listening to yourself
return;