Damn typos.
This commit is contained in:
parent
3aba5a41fc
commit
8b1f46cb83
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
|
@ -18,7 +17,7 @@ def get_info(host, port):
|
||||||
sock.close()
|
sock.close()
|
||||||
return "%s - %d/%d players" % (values[0], int(values[1]), int(values[2]))
|
return "%s - %d/%d players" % (values[0], int(values[1]), int(values[2]))
|
||||||
except:
|
except:
|
||||||
return "Error pinging "+host+":"+str(port)+", is it up? double-check your address!"
|
return "Error pinging "+host+":"+str(port)+", is it up? Double-check your address!"
|
||||||
|
|
||||||
@hook.command
|
@hook.command
|
||||||
def mcping(inp):
|
def mcping(inp):
|
||||||
|
|
Reference in a new issue