diff --git a/plugins/Network.py b/plugins/Network.py index e1465ec35..3e7ac9ea8 100644 --- a/plugins/Network.py +++ b/plugins/Network.py @@ -59,7 +59,7 @@ example = utils.wrapLines(""" jemfinch: 66.35.250.150 @dns 66.35.250.150 jemfinch: slashdot.org - @whois ohio-state.edu + @internic ohio-state.edu jemfinch: ohio-state.edu is active; registered 18-aug-1987, updated 19-aug-2003, expires 18-aug-2004. """) @@ -88,7 +88,7 @@ class Network(callbacks.Privmsg): irc.reply(msg, 'Host not found.') _tlds = sets.Set(['com', 'net', 'edu']) - def whois(self, irc, msg, args): + def internic(self, irc, msg, args): """ Returns WHOIS information on the registration of . diff --git a/test/test_Network.py b/test/test_Network.py index 9188dd7e9..04bb0fd40 100644 --- a/test/test_Network.py +++ b/test/test_Network.py @@ -38,9 +38,9 @@ class NetworkTestCase(PluginTestCase, PluginDocumentation): self.assertResponse('dns alsdkjfaslkdfjaslkdfj.com', 'Host not found.') def testWhois(self): - self.assertNotError('whois ohio-state.edu') - self.assertError('whois www.ohio-state.edu') - self.assertError('whois slashdot.org') + self.assertNotError('internic ohio-state.edu') + self.assertError('internic www.ohio-state.edu') + self.assertError('internic slashdot.org') # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: