mirror of https://github.com/Mikaela/Limnoria.git
Changed an error to a reply.
This commit is contained in:
parent
5025f200c6
commit
151657f40d
|
@ -69,7 +69,7 @@ class Network(callbacks.Privmsg):
|
||||||
if ircutils.isIP(host):
|
if ircutils.isIP(host):
|
||||||
hostname = socket.getfqdn(host)
|
hostname = socket.getfqdn(host)
|
||||||
if hostname == host:
|
if hostname == host:
|
||||||
irc.error(msg, 'Host not found.')
|
irc.reply(msg, 'Host not found.')
|
||||||
else:
|
else:
|
||||||
irc.reply(msg, hostname)
|
irc.reply(msg, hostname)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue