mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
opercmds: migrate from utils.isServerName to irc.is_server_name
This commit is contained in:
parent
9e212fc0a4
commit
87fdb1dde1
@ -322,7 +322,7 @@ def jupe(irc, source, args):
|
||||
irc.error('Not enough arguments. Needs 1-2: servername, reason (optional).')
|
||||
return
|
||||
|
||||
if not utils.isServerName(servername):
|
||||
if not irc.is_server_name(servername):
|
||||
irc.error("Invalid server name %r." % servername)
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user