3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

opercmds: migrate from utils.isServerName to irc.is_server_name

This commit is contained in:
James Lu 2018-03-02 20:08:18 -08:00
parent 9e212fc0a4
commit 87fdb1dde1

View File

@ -322,7 +322,7 @@ def jupe(irc, source, args):
irc.error('Not enough arguments. Needs 1-2: servername, reason (optional).') irc.error('Not enough arguments. Needs 1-2: servername, reason (optional).')
return return
if not utils.isServerName(servername): if not irc.is_server_name(servername):
irc.error("Invalid server name %r." % servername) irc.error("Invalid server name %r." % servername)
return return