spammer: silence with +q, not +m, remove telegram from exceptions

Thanks iDunk for +q pointer
This commit is contained in:
moneromooo 2017-06-25 18:00:23 +01:00
parent 7991428bf9
commit da965ebc69
2 changed files with 2 additions and 2 deletions

View File

@ -116,4 +116,4 @@ kitsune_max_loss = 35
# how much are we prepared to lose as a ratio of our current pot
kitsune_max_loss_ratio = 0.1
spammer_allowed = ['_Slack', '_Telegram', 'i2p-relay']
spammer_allowed = ['_Slack', 'i2p-relay']

View File

@ -45,7 +45,7 @@ def MuteUser(link):
log_info("chan: " + chan)
net=link.network
try:
cmd="MODE " + chan + " +m " + link.user.ident
cmd="MODE " + chan + " +q " + link.user.ident
net._irc_sendmsg(cmd)
except:
pass