mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 20:42:37 +01:00
ru puns through cleannicks
This commit is contained in:
parent
573f1fb6ea
commit
2954df3a52
@ -4,6 +4,8 @@ var puns = function(dbot) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'listener': function(data) {
|
'listener': function(data) {
|
||||||
|
data.user = dbot.cleanNick(data.user);
|
||||||
|
|
||||||
if((dbot.db.ignores.hasOwnProperty(data.user) &&
|
if((dbot.db.ignores.hasOwnProperty(data.user) &&
|
||||||
dbot.db.ignores[data.user].include(name)) == false) {
|
dbot.db.ignores[data.user].include(name)) == false) {
|
||||||
if(dbot.moduleNames.include('quotes') &&
|
if(dbot.moduleNames.include('quotes') &&
|
||||||
|
Loading…
Reference in New Issue
Block a user