mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Remove join, nick and whois inputs, they are cleanly handled by the server
Fixes #201
This commit is contained in:
parent
05be0ff57f
commit
52b953c492
5 changed files with 0 additions and 34 deletions
|
@ -17,7 +17,6 @@ $(function() {
|
|||
"/notice",
|
||||
"/op",
|
||||
"/part",
|
||||
"/query",
|
||||
"/quit",
|
||||
"/raw",
|
||||
"/say",
|
||||
|
|
|
@ -35,15 +35,12 @@ var events = [
|
|||
var inputs = [
|
||||
// These inputs are sorted in order that is most likely to be used
|
||||
"msg",
|
||||
"whois",
|
||||
"part",
|
||||
"action",
|
||||
"connect",
|
||||
"invite",
|
||||
"join",
|
||||
"kick",
|
||||
"mode",
|
||||
"nick",
|
||||
"notice",
|
||||
"quit",
|
||||
"raw",
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
exports.commands = ["join"];
|
||||
|
||||
exports.input = function(network, chan, cmd, args) {
|
||||
if (args.length !== 0) {
|
||||
var irc = network.irc;
|
||||
irc.join(args[0], args[1]);
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
exports.commands = ["nick"];
|
||||
|
||||
exports.input = function(network, chan, cmd, args) {
|
||||
if (args.length !== 0) {
|
||||
var irc = network.irc;
|
||||
irc.nick(args[0]);
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
exports.commands = ["query", "whois"];
|
||||
|
||||
exports.input = function(network, chan, cmd, args) {
|
||||
if (args.length !== 0) {
|
||||
var irc = network.irc;
|
||||
irc.whois(args[0]);
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
Loading…
Reference in a new issue