git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic commit of irc logs
[matches/MCTX3420.git]
/
server
/
control.c
diff --git
a/server/control.c
b/server/control.c
index
820c37c
..
0242a3b
100644
(file)
--- a/
server/control.c
+++ b/
server/control.c
@@
-52,14
+52,8
@@
void Control_Handler(FCGIContext *context, char *params) {
if (!FCGI_ParseRequest(context, params, values, 4))
return;
if (!FCGI_ParseRequest(context, params, values, 4))
return;
- if (!strcmp(action, "lock")) {
- FCGI_LockControl(context, force);
- return;
- } else if (!strcmp(action, "emergency")) {
+ if (!strcmp(action, "emergency")) {
desired_mode = CONTROL_EMERGENCY;
desired_mode = CONTROL_EMERGENCY;
- }
- else if (!strcmp(action, "release")) {
- FCGI_ReleaseControl(context);
} else if (!strcmp(action, "start")) {
desired_mode = CONTROL_START;
} else if (!strcmp(action, "pause")) {
} else if (!strcmp(action, "start")) {
desired_mode = CONTROL_START;
} else if (!strcmp(action, "pause")) {
UCC
git Repository :: git.ucc.asn.au