put diff
git-svn-id: file:///raid/svn-personal/tewi/trunk@41 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
bf87d827d3
commit
32962dcdd3
|
@ -17,4 +17,7 @@ int mod_config(struct tw_tool* tools, char** argv, int argc) {
|
|||
return TW_CONFIG_NOTME;
|
||||
}
|
||||
|
||||
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_PASS; }
|
||||
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) {
|
||||
res->status = 403;
|
||||
return TW_MODULE_STOP;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user