Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vernemq
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stack
vernemq
Commits
bc3f069a
Commit
bc3f069a
authored
Oct 11, 2018
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add overwrite/overset
parent
5f8a25ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
authhook/utils/router.js
+2
-2
No files found.
authhook/utils/router.js
View file @
bc3f069a
...
...
@@ -7,11 +7,11 @@ function rewriteTopic(topic, op, groupid, clientid, output) {
return
modify
.
insertWordIntoTopic
(
topic
,
'!'
+
groupid
,
1
);
case
'@shadow'
:
if
(
chunk
[
1
]
==
'set'
||
chunk
[
1
]
==
'get'
)
{
if
(
chunk
[
1
]
==
'set'
||
chunk
[
1
]
==
'
overset'
||
chunk
[
1
]
==
'
get'
)
{
output
.
verb
=
chunk
[
1
];
return
modify
.
insertWordIntoTopic
(
topic
,
''
+
clientid
,
2
);
}
else
if
(
chunk
[
1
]
==
'write'
||
chunk
[
1
]
==
'read'
)
{
else
if
(
chunk
[
1
]
==
'write'
||
chunk
[
1
]
==
'
overwrite'
||
chunk
[
1
]
==
'
read'
)
{
output
.
verb
=
chunk
[
1
];
return
modify
.
insertWordIntoTopic
(
topic
,
groupid
,
2
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment