SysDNS: clarify the plugin descriptions

This commit is contained in:
GLolol 2014-03-24 23:02:55 -07:00
parent bd1d13bd9f
commit e1d742ee5f
3 changed files with 8 additions and 3 deletions

View File

@ -25,3 +25,6 @@ Any specific plugin dependencies *should* also be listed.
##### SupyMisc ##### SupyMisc
- Some assorted commands that don't seem to fit anywhere else. - Some assorted commands that don't seem to fit anywhere else.
##### SysDNS
- An alternative to Supybot's built-in DNS function, using DNS lookup utilities (such as host or dig) available on the host machine.

View File

@ -1 +1,2 @@
This plugin provides an alternative to Supybot's built in dns command, using a 'host' binary (such as /usr/bin/host) available on the bot's host system. An alternative to Supybot's built-in DNS function, using DNS lookup utilities (such as host or dig) available on the host machine.

View File

@ -44,8 +44,9 @@ except ImportError:
_ = lambda x:x _ = lambda x:x
class SysDNS(callbacks.Plugin): class SysDNS(callbacks.Plugin):
"""Provides an alternative to the built in dns command by looking up hostnames """An alternative to Supybot's built-in DNS function, using DNS lookup utilities
using the host binary available on the system.""" (such as host or dig) available on the host machine.
"""
threaded = True threaded = True
def dns(self, irc, msg, args, text): def dns(self, irc, msg, args, text):
"""<host> """<host>