mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
relay_clientbot: rename isRelayClient => is_relay_client()
This commit is contained in:
parent
954f4f9886
commit
ab91acb2f7
@ -246,7 +246,7 @@ def rpm(irc, source, args):
|
|||||||
if not uid:
|
if not uid:
|
||||||
irc.error('Unknown user %s.' % target)
|
irc.error('Unknown user %s.' % target)
|
||||||
return
|
return
|
||||||
elif not relay.isRelayClient(irc, uid):
|
elif not relay.is_relay_client(irc, uid):
|
||||||
irc.error('%s is not a relay user.' % target)
|
irc.error('%s is not a relay user.' % target)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user