!7
html {
print("Reload Bot.");
if (!webAuthed(params)) ret "nope";
uri = dropPrefix("/", uri);
if (!isSnippetID(uri)) ret "need id";
long id = parseSnippetID(uri);
temp tempSetTL((ThreadLocal) get(getDispatcher(), 'dispatcherAuth), true);
S s = askSelf("reload sub bot " + id);
if (!isOK(s)) ret htmlencode(s);
ret htitle("Reloaded.") + htmlencode(s) + hrefresh(1, tb_mainServer() + "/tb/show-snippet.php?id=" + id);
}