spammer: silence with +q, not +m, remove telegram from exceptions
Thanks iDunk for +q pointer
This commit is contained in:
parent
7991428bf9
commit
da965ebc69
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue