From 9161fae6d6ae2cd8d3cce51e4974e2950280cd52 Mon Sep 17 00:00:00 2001 From: neersighted Date: Sun, 18 Mar 2012 20:09:26 -0700 Subject: [PATCH] Fixed help message in mctools.py --- plugins/mctools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mctools.py b/plugins/mctools.py index f70bb73..399c4fd 100755 --- a/plugins/mctools.py +++ b/plugins/mctools.py @@ -62,7 +62,7 @@ from util import hook @hook.command def mcping(inp): - ".mcping server[:port] - Ping a Minecraft server to check status." + ".mcping [:port] - Ping a Minecraft server to check status." inp = inp.strip().split(" ")[0] if ":" in inp: @@ -70,7 +70,7 @@ def mcping(inp): try: port = int(port) except: - return "Invalid port!" + return "error: invalid port!" else: host = inp port = 25565