Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luke Bratch
blabouncer
Commits
cbaaaf96
Commit
cbaaaf96
authored
Sep 15, 2019
by
Luke Bratch
Browse files
Remove nicks from channels when reconnecting, before re-JOINing them.
parent
c600744e
Changes
1
Hide whitespace changes
Inline
Side-by-side
message.c
View file @
cbaaaf96
...
...
@@ -127,6 +127,11 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int
continue
;
}
// Remove nicks in the channel, we will re-get them when re-JOINing
for
(
int
j
=
0
;
j
<
MAXCHANNICKS
;
j
++
)
{
channels
[
i
].
nicks
[
j
][
0
]
=
'\0'
;
}
debugprint
(
DEBUG_SOME
,
"Reconnection: Re-joining '%s'.
\n
"
,
channels
[
i
].
name
);
char
joinmsg
[
MAXDATASIZE
];
...
...
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