From 921e59e0f84d76135bd3b25f8af6aa3fd3dd0d00 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 8 Oct 2019 16:02:29 +0100 Subject: !isupraw -> !tcpup --- modules/isup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/isup.py b/modules/isup.py index 3c52dc77..edf22b8b 100644 --- a/modules/isup.py +++ b/modules/isup.py @@ -28,11 +28,11 @@ class Module(ModuleManager.BaseModule): event["stdout"].write("%s looks up to me (HTTP %d)" % (url, response.code)) - @utils.hook("received.command.isupraw") + @utils.hook("received.command.tcpup") @utils.kwarg("min_args", 1) @utils.kwarg("help", "Check if a given hostname:port is up or not") @utils.kwarg("usage", "[:port]") - def isupraw(self, event): + def tcpup(self, event): hostname, _, port = event["args_split"][0].partition(":") port = utils.parse.try_int(port or "80") if port == None: -- cgit v1.3.1-10-gc9f91