Website: Change the default error message.

master
Valentin Lorentz 2011-10-02 17:55:00 +02:00
parent d7c0861811
commit 469e9e0e1c
1 changed files with 3 additions and 0 deletions

View File

@ -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)