Compare commits

..

No commits in common. "2bc9a761e59a5f4bf7ea35a908108021182264ed" and "7eff09eba1f4eecc5215baac7266f6ad814d36ce" 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", "name": "schat2-clive",
"version": "1.12.1", "version": "1.12.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "schat2-clive", "name": "schat2-clive",
"version": "1.12.1", "version": "1.12.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"bhttp": "^1.2.8", "bhttp": "^1.2.8",

View File

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

View File

@ -215,7 +215,7 @@ function onMessage(message, bot, games) {
return; return;
} }
if (game && game.help && ['help', 'commands'].includes(subcommand)) { if (game && game.help && subcommand === 'help') {
game.sendMessage(game.help, room.id, { styleCommands: true }); game.sendMessage(game.help, room.id, { styleCommands: true });
if (game.blockHelp !== false) { if (game.blockHelp !== false) {