1
0
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:
Adam
2010-08-31 17:53:39 -04:00
parent 3a9a0ef135
commit 7dfc8e8ee8
2 changed files with 7 additions and 3 deletions
+5 -2
View File
@@ -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
View File
@@ -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