Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
srvpro
Commits
703ebb48
Commit
703ebb48
authored
Jul 27, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0=null
parent
79f48617
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ygopro-server.coffee
ygopro-server.coffee
+2
-0
ygopro-server.js
ygopro-server.js
+3
-1
No files found.
ygopro-server.coffee
View file @
703ebb48
...
@@ -1405,6 +1405,8 @@ ygopro.ctos_follow 'PLAYER_INFO', true, (buffer, info, client, server)->
...
@@ -1405,6 +1405,8 @@ ygopro.ctos_follow 'PLAYER_INFO', true, (buffer, info, client, server)->
name_full
=
info
.
name
.
split
(
"$"
)
name_full
=
info
.
name
.
split
(
"$"
)
name
=
name_full
[
0
]
name
=
name_full
[
0
]
vpass
=
name_full
[
1
]
vpass
=
name_full
[
1
]
if
!
vpass
.
length
vpass
=
null
if
(
_
.
any
(
settings
.
ban
.
illegal_id
,
(
badid
)
->
if
(
_
.
any
(
settings
.
ban
.
illegal_id
,
(
badid
)
->
regexp
=
new
RegExp
(
badid
,
'i'
)
regexp
=
new
RegExp
(
badid
,
'i'
)
matchs
=
name
.
match
(
regexp
)
matchs
=
name
.
match
(
regexp
)
...
...
ygopro-server.js
View file @
703ebb48
...
@@ -1785,6 +1785,9 @@
...
@@ -1785,6 +1785,9 @@
name_full
=
info
.
name
.
split
(
"
$
"
);
name_full
=
info
.
name
.
split
(
"
$
"
);
name
=
name_full
[
0
];
name
=
name_full
[
0
];
vpass
=
name_full
[
1
];
vpass
=
name_full
[
1
];
if
(
!
vpass
.
length
)
{
vpass
=
null
;
}
if
(
_
.
any
(
settings
.
ban
.
illegal_id
,
function
(
badid
)
{
if
(
_
.
any
(
settings
.
ban
.
illegal_id
,
function
(
badid
)
{
var
matchs
,
regexp
;
var
matchs
,
regexp
;
regexp
=
new
RegExp
(
badid
,
'
i
'
);
regexp
=
new
RegExp
(
badid
,
'
i
'
);
...
@@ -1803,7 +1806,6 @@
...
@@ -1803,7 +1806,6 @@
buffer
=
struct
.
buffer
;
buffer
=
struct
.
buffer
;
client
.
name
=
name
;
client
.
name
=
name
;
client
.
vpass
=
vpass
;
client
.
vpass
=
vpass
;
console
.
log
(
client
.
name
,
client
.
vpass
);
if
(
settings
.
modules
.
vip
.
enabled
&&
CLIENT_check_vip
(
client
))
{
if
(
settings
.
modules
.
vip
.
enabled
&&
CLIENT_check_vip
(
client
))
{
client
.
vip
=
true
;
client
.
vip
=
true
;
}
}
...
...
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