From 0199fb4657ffbc7fc8527e6256d4964a19e2c843 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Mon, 25 Aug 2014 03:35:19 -0700 Subject: [PATCH] Added '/quote' command --- README.md | 4 ++++ package.json | 2 +- src/command-line/edit.js | 2 +- src/plugins/inputs/raw.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 83ca65a..799aad7 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,9 @@ Commands: remove Remove an existing user + + edit + Edit an existing user ``` Pretty simple, huh? @@ -103,6 +106,7 @@ These are the commands currently implemented: - [x] /part - [x] /query - [x] /quit +- [x] /quote - [x] /raw - [x] /say - [x] /send diff --git a/package.json b/package.json index 1b86ce4..0aeccd3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "A web IRC client", - "version": "0.10.7", + "version": "0.10.8", "author": "Mattias Erming", "preferGlobal": true, "bin": { diff --git a/src/command-line/edit.js b/src/command-line/edit.js index 0fae792..a68c5e9 100644 --- a/src/command-line/edit.js +++ b/src/command-line/edit.js @@ -4,7 +4,7 @@ var child = require("child_process"); program .command("edit ") - .description("Edit existing user") + .description("Edit an existing user") .action(function(name) { var users = new ClientManager().getUsers(); if (users.indexOf(name) === -1) { diff --git a/src/plugins/inputs/raw.js b/src/plugins/inputs/raw.js index 45b9ee9..915673b 100644 --- a/src/plugins/inputs/raw.js +++ b/src/plugins/inputs/raw.js @@ -1,5 +1,5 @@ module.exports = function(network, chan, cmd, args) { - if (cmd != "raw" && cmd != "send") { + if (cmd != "raw" && cmd != "send" && cmd != "quote") { return; } if (args.length !== 0) {