removed hardcoded channel x)
This commit is contained in:
parent
1d390e01b3
commit
cb00071105
|
@ -11,8 +11,8 @@ module.exports = (lib) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
lib.bot.whois(key, e.network, (err, data) => {
|
lib.bot.whois(key, e.network, (err, data) => {
|
||||||
if(data.channels['#kbot-dev']) {
|
if(data.channels[e.channel]) {
|
||||||
var h = modesToString(data.channels['#kbot-dev']), q = "";
|
var h = modesToString(data.channels[e.channel]), q = "";
|
||||||
if(lib.admins[data.account])
|
if(lib.admins[data.account])
|
||||||
q = levelToModes(lib.admins[data.account].level);
|
q = levelToModes(lib.admins[data.account].level);
|
||||||
var diff = lib.groupUserModes(userModeDiff(h, q));
|
var diff = lib.groupUserModes(userModeDiff(h, q));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user