mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
inbuilt -b
This commit is contained in:
parent
29bdb0e91e
commit
1cbb57e519
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user