fix commands not being removed
This commit is contained in:
parent
5f16c13759
commit
25e9f24d8b
@ -173,6 +173,7 @@ Client.prototype.connect = function(args) {
|
||||
password: args.password,
|
||||
username: username,
|
||||
realname: realname,
|
||||
commands: args.commands
|
||||
});
|
||||
|
||||
network.irc = irc;
|
||||
|
@ -12,6 +12,7 @@ function Network(attr) {
|
||||
port: 6667,
|
||||
tls: false,
|
||||
password: "",
|
||||
commands: [],
|
||||
username: "",
|
||||
realname: "",
|
||||
channels: [],
|
||||
@ -41,7 +42,8 @@ Network.prototype.export = function() {
|
||||
"tls",
|
||||
"password",
|
||||
"username",
|
||||
"realname"
|
||||
"realname",
|
||||
"commands"
|
||||
]);
|
||||
network.nick = (this.irc || {}).me;
|
||||
network.join = _.pluck(
|
||||
|
Loading…
Reference in New Issue
Block a user