Fix /help output

This commit is contained in:
Ken-Håvard Lieng 2017-04-20 04:16:15 +02:00
parent 0daf3244cb
commit 0413960b85
2 changed files with 20 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,3 @@
import _escape from 'lodash/escape';
import createCommandMiddleware from './middleware/command';
import { COMMAND } from './actions';
import { setNick, disconnect, whois, away } from './actions/server';
@ -20,7 +19,7 @@ const help = [
'/whois <user> - Get information about user',
'/away [message] - Set or clear away message',
'/raw [message] - Send raw IRC message to the current server'
].map(_escape);
];
export default createCommandMiddleware(COMMAND, {
join({ dispatch, server }, channel) {