3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

relay: less accusatory message for links blocked by LINKACL

This commit is contained in:
James Lu 2016-06-08 16:00:25 -07:00
parent 3869c06991
commit e1d3003683

View File

@ -1430,7 +1430,7 @@ def link(irc, source, args):
return
else:
if irc.name in entry['blocked_nets']:
irc.reply('Error: Access denied (network is banned from linking to this channel).')
irc.reply('Error: Access denied (target channel is not open to links).')
return
for link in entry['links']:
if link[0] == irc.name: