mirror of
https://github.com/anope/anope.git
synced 2026-07-02 00:06:38 +02:00
Fixed do_sjoin to properly find the server source on TS6 IRCds
This commit is contained in:
+5
-2
@@ -794,7 +794,7 @@ void do_sjoin(const char *source, int ac, char **av)
|
||||
{
|
||||
Channel *c;
|
||||
User *user;
|
||||
Server *serv;
|
||||
Server *serv = NULL;
|
||||
struct c_userlist *cu;
|
||||
char *s = NULL;
|
||||
char *end, cubuf[7], *end2, *cumodes[6], *buf;
|
||||
@@ -803,7 +803,10 @@ void do_sjoin(const char *source, int ac, char **av)
|
||||
int is_created = 0;
|
||||
int keep_their_modes = 1;
|
||||
|
||||
serv = findserver(servlist, source);
|
||||
if (UseTS6 && ircd->ts6)
|
||||
serv = findserver_uid(servlist, source);
|
||||
if (!serv)
|
||||
serv = findserver(servlist, source);
|
||||
|
||||
if (ircd->sjb64) {
|
||||
ts = base64dects(av[0]);
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="4"
|
||||
VERSION_EXTRA="-git"
|
||||
VERSION_BUILD="3029"
|
||||
VERSION_BUILD="3030"
|
||||
|
||||
# $Log$ # Changes since the 1.8.4 Release
|
||||
#Revision 3030 - Fixed do_sjoin to properly find the server source on TS6 IRCds
|
||||
#Revision 3029 - Fixed InspIRCd1.2 protocol module passing invalid users in the SJOIN string which made internal debug messages confusing/wrong
|
||||
#Revision 3028 - We tell everyone to use 127.0.0.1 instead of localhost, so we should too.
|
||||
#Revision 3027 - Kill users using our nicks when on InspIRCd 1.2
|
||||
|
||||
Reference in New Issue
Block a user