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