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:
parent
3869c06991
commit
e1d3003683
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user