Website: Change the default error message.
parent
d7c0861811
commit
469e9e0e1c
|
@ -45,6 +45,9 @@ _ = PluginInternationalization('Website')
|
|||
|
||||
class WebsiteCallback(httpserver.SupyHTTPServerCallback):
|
||||
name = 'Supybot website callback'
|
||||
defaultResponse = _("""
|
||||
You shouldn't be there, this subfolder is not for you. Go back to the
|
||||
index and try out other plugins (if any).""")
|
||||
def doPost(self, handler, path, form):
|
||||
try:
|
||||
self.plugin.announce.onPayload(form)
|
||||
|
|
Loading…
Reference in New Issue