Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
ed76c89e
Commit
ed76c89e
authored
19 years ago
by
cyan
Browse files
Options
Downloads
Patches
Plain Diff
* Fix a bug wherein 'QWK' servers couldn't connect to their uplink.
Thanks to Tracker1 and RuneMaster for pointing this one out.
parent
2f9a5e46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
exec/ircd.js
+2
-1
2 additions, 1 deletion
exec/ircd.js
exec/load/ircd_server.js
+1
-1
1 addition, 1 deletion
exec/load/ircd_server.js
exec/load/ircd_unreg.js
+2
-1
2 additions, 1 deletion
exec/load/ircd_unreg.js
with
5 additions
and
3 deletions
exec/ircd.js
+
2
−
1
View file @
ed76c89e
...
...
@@ -181,7 +181,7 @@ function parse_nline_flags(flags) {
nline_flags
|=
NLINE_CHECK_WITH_QWKMASTER
;
break
;
case
"
d
"
:
nline_flags
|=
NLINE_IS_DREAM
HAVEN
;
nline_flags
|=
NLINE_IS_DREAM
FORGE
;
break
;
default
:
log
(
LOG_WARNING
,
"
!WARNING Unknown N:Line flag '
"
+
flags
[
thisflag
]
+
"
' in config.
"
);
...
...
@@ -410,6 +410,7 @@ function connect_to_server(this_cline,the_port) {
next_client_id
++
;
Unregistered
[
new_id
]
=
new
Unregistered_Client
(
new_id
,
connect_sock
);
Unregistered
[
new_id
].
sendps
=
false
;
// Don't do P/S pair again
Unregistered
[
new_id
].
outgoing
=
true
;
/* Outgoing Connection */
}
this_cline
.
lastconnect
=
time
();
}
...
...
This diff is collapsed.
Click to expand it.
exec/load/ircd_server.js
+
1
−
1
View file @
ed76c89e
...
...
@@ -27,7 +27,7 @@ const SERVER_REVISION = "$Revision$".split(' ')[1];
const
NLINE_CHECK_QWKPASSWD
=
(
1
<<
0
);
// q
const
NLINE_IS_QWKMASTER
=
(
1
<<
1
);
// w
const
NLINE_CHECK_WITH_QWKMASTER
=
(
1
<<
2
);
// k
const
NLINE_IS_DREAM
HAVEN
=
(
1
<<
3
);
// d
const
NLINE_IS_DREAM
FORGE
=
(
1
<<
3
);
// d
////////// Objects //////////
function
IRC_Server
()
{
...
...
This diff is collapsed.
Click to expand it.
exec/load/ircd_unreg.js
+
2
−
1
View file @
ed76c89e
...
...
@@ -42,6 +42,7 @@ function Unregistered_Client(id,socket) {
this
.
pending_resolve
=
false
;
this
.
pending_resolve_time
=
time
();
this
.
sendps
=
true
;
// Send the PASS/SERVER pair by default.
this
.
outgoing
=
false
;
/* We're an incoming connection by default */
// Variables (consts, really) that point to various state information
this
.
socket
=
socket
;
////////// FUNCTIONS
...
...
@@ -200,7 +201,7 @@ function Unregistered_Commands() {
if
(
(
!
this_nline
||
(
(
this_nline
.
password
==
"
*
"
)
&&
!
(
this_nline
.
flags
&
NLINE_CHECK_QWKPASSWD
)
)
)
&&
!
qwk_slave
)
{
)
&&
!
qwk_slave
&&
!
this
.
outgoing
)
{
this
.
quit
(
"
Server not configured.
"
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment