3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

inbuilt -b

This commit is contained in:
reality 2015-01-29 22:24:45 +00:00
parent 29bdb0e91e
commit 1cbb57e519

View File

@ -28,7 +28,8 @@ var kick = function(dbot) {
'unban': function(server, host, channel) { 'unban': function(server, host, channel) {
// TODO: Wrest control from chanserv // TODO: Wrest control from chanserv
dbot.say(server, this.config.chanserv, 'unban ' + channel + ' *!*@' + host); //dbot.say(server, this.config.chanserv, 'unban ' + channel + ' *!*@' + host);
dbot.instance.connections[server].send('MODE ' + channel + ' -b *!*@' + host);
}, },
'networkUnban': function(server, unbanee, unbanner, callback) { 'networkUnban': function(server, unbanee, unbanner, callback) {