Remove dead or useless code
This commit is contained in:
parent
9935e038fc
commit
ac33ceb579
41 changed files with 15 additions and 80 deletions
|
|
@ -7,7 +7,6 @@ from urllib.parse import urlparse
|
|||
|
||||
from nemubot.event import ModuleEvent
|
||||
from nemubot.exception import IRCException
|
||||
from nemubot.hooks import hook
|
||||
from nemubot.tools.web import getNormalizedURL
|
||||
from nemubot.tools.xmlparser.node import ModuleState
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ def cmd_whois(msg):
|
|||
js = getJSON(URL_WHOIS % urllib.parse.quote(dom))
|
||||
|
||||
if "ErrorMessage" in js:
|
||||
err = js["ErrorMessage"]
|
||||
raise IRCException(js["ErrorMessage"]["msg"])
|
||||
|
||||
whois = js["WhoisRecord"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue