3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +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 return
else: else:
if irc.name in entry['blocked_nets']: 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 return
for link in entry['links']: for link in entry['links']:
if link[0] == irc.name: if link[0] == irc.name: