diff --git a/commands/geolocate.py b/commands/geolocate.py index 5c5d733..69ae0f4 100644 --- a/commands/geolocate.py +++ b/commands/geolocate.py @@ -58,7 +58,6 @@ class Geolocate(Command): msg = "your hostname, \x0302{0}\x0F, is not an IP address!" self.reply(data, msg.format(data.host)) return - address = data.args[0] if not self.is_ip(address): msg = "\x0302{0}\x0F is not an IP address!" self.reply(data, msg.format(address))