Remove duplicate command impl
This commit is contained in:
@@ -9,13 +9,6 @@ function getActiveClient(app) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
"query": (app, args) => {
|
|
||||||
var nick = args[0];
|
|
||||||
if (!nick) {
|
|
||||||
throw new Error("Missing nickname");
|
|
||||||
}
|
|
||||||
app.open(nick);
|
|
||||||
},
|
|
||||||
"quit": (app, args) => {
|
"quit": (app, args) => {
|
||||||
if (window.localStorage) {
|
if (window.localStorage) {
|
||||||
localStorage.removeItem("autoconnect");
|
localStorage.removeItem("autoconnect");
|
||||||
|
|||||||
Reference in New Issue
Block a user