mirror of
https://github.com/wownero/tippero.git
synced 2026-10-17 15:51:33 +02:00
spammer: silence with +q, not +m, remove telegram from exceptions
Thanks iDunk for +q pointer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user