Merge pull request #283 from fbm-static/patch/02
fix commands magically being removed
This commit is contained in:
commit
c3c2b5487c
@ -173,6 +173,7 @@ Client.prototype.connect = function(args) {
|
|||||||
password: args.password,
|
password: args.password,
|
||||||
username: username,
|
username: username,
|
||||||
realname: realname,
|
realname: realname,
|
||||||
|
commands: args.commands
|
||||||
});
|
});
|
||||||
|
|
||||||
network.irc = irc;
|
network.irc = irc;
|
||||||
|
@ -12,6 +12,7 @@ function Network(attr) {
|
|||||||
port: 6667,
|
port: 6667,
|
||||||
tls: false,
|
tls: false,
|
||||||
password: "",
|
password: "",
|
||||||
|
commands: [],
|
||||||
username: "",
|
username: "",
|
||||||
realname: "",
|
realname: "",
|
||||||
channels: [],
|
channels: [],
|
||||||
@ -41,7 +42,8 @@ Network.prototype.export = function() {
|
|||||||
"tls",
|
"tls",
|
||||||
"password",
|
"password",
|
||||||
"username",
|
"username",
|
||||||
"realname"
|
"realname",
|
||||||
|
"commands"
|
||||||
]);
|
]);
|
||||||
network.nick = (this.irc || {}).me;
|
network.nick = (this.irc || {}).me;
|
||||||
network.join = _.pluck(
|
network.join = _.pluck(
|
||||||
|
Loading…
Reference in New Issue
Block a user