mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Introduce a lexical block in case.
This commit is contained in:
parent
61b45ace5a
commit
33610e89f8
1 changed files with 2 additions and 1 deletions
|
@ -872,7 +872,7 @@ function handleInput() {
|
||||||
case '/unop':
|
case '/unop':
|
||||||
case '/kick':
|
case '/kick':
|
||||||
case '/present':
|
case '/present':
|
||||||
case '/unpresent':
|
case '/unpresent': {
|
||||||
if(!permissions.op) {
|
if(!permissions.op) {
|
||||||
displayError("You're not an operator");
|
displayError("You're not an operator");
|
||||||
return;
|
return;
|
||||||
|
@ -897,6 +897,7 @@ function handleInput() {
|
||||||
id: id,
|
id: id,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
displayError('Uknown command ' + cmd);
|
displayError('Uknown command ' + cmd);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue