1
0
forked from keinBot/cuffeo

migrate irc + tg client changes from uwe

This commit is contained in:
2019-08-18 00:30:38 +02:00
parent 5a33c21887
commit 3a895eda83
4 changed files with 37 additions and 77 deletions

View File

@@ -75,21 +75,3 @@ export default client => {
this.server.user.set(msg.params[1], tmpuser);
}.bind(client));
};
Map.prototype.hasi = function (val) {
for (let [key] of this)
if (key.toLowerCase() === val.toLowerCase())
return true;
return false;
};
Map.prototype.geti = function (val) {
for (let [key, value] of this)
if (key.toLowerCase() === val.toLowerCase())
return value;
return false;
};
Map.prototype.deli = function (val) {
for (let [key] of this)
if (key.toLowerCase() === val.toLowerCase())
this.delete(key);
};