From 617d874d8b3fae1d2ca68ae9e33e26a0c2d41210 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 8 Apr 2013 19:51:03 -0400 Subject: [PATCH] Remove an extraneous line. --- commands/geolocate.py | 1 - 1 file changed, 1 deletion(-) 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))