diff --git a/worker/ip.py b/worker/ip.py index 67cdc29..22caeb2 100644 --- a/worker/ip.py +++ b/worker/ip.py @@ -4,7 +4,7 @@ import requests class Ans(StdAns): def GETMSG(self): try: - ip = self.parms[0] + ip = self.parms[1] except: ip = '' url = 'https://api.ip.sb/geoip/'