From deff6d077d9e6d26d7fc2c6dcd68ecbac81ad76a Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 12 Jun 2018 00:02:18 -0700 Subject: [PATCH] match_host: remove deprecation notice for non-host globs This is too flaky with commands taking arbitrary user inputs (e.g. opercmds/checkban) --- classes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/classes.py b/classes.py index 8329b29..5442d03 100644 --- a/classes.py +++ b/classes.py @@ -1350,9 +1350,6 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore): hosts.add(self.get_hostmask(target, realhost=True)) else: # We were given a host, use that. - if '@' not in text: - log.warning('(%s) Using match_host() on non-hostlike globs is deprecated as of 2.0-alpha4 - ' - 'use match_text() instead', self.name) hosts = [target] # Iterate over the hosts to match using ircmatch.