1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 15:03:13 +02:00

- Windows: Fix strange linking bug. Outgoing connects from a Windows

IRCd caused a garbled SERVER protocol message, causing 'cannot find
  server' errors and killing of users. Reported by Sunkat (#4183).
This commit is contained in:
Bram Matthys
2013-04-04 23:07:04 +02:00
parent 9806ec28e9
commit 61cfb5ac3e
8 changed files with 2 additions and 11 deletions
-1
View File
@@ -1085,7 +1085,6 @@ int _register_user(aClient *cptr, aClient *sptr, char *nick, char *username, cha
me.name, parv[0],
me.name, version, umodestring, cmodestring);
{
extern MODVAR char *IsupportStrings[];
int i;
for (i = 0; IsupportStrings[i]; i++)
sendto_one(sptr, rpl_str(RPL_ISUPPORT), me.name, nick, IsupportStrings[i]);
-2
View File
@@ -44,8 +44,6 @@
DLLFUNC int m_protoctl(aClient *cptr, aClient *sptr, int parc, char *parv[]);
extern MODVAR char serveropts[];
#define MSG_PROTOCTL "PROTOCTL"
#define TOK_PROTOCTL "_"
-3
View File
@@ -130,8 +130,6 @@ char buf[512];
void _send_server_message(aClient *sptr)
{
extern char serveropts[];
if (sptr->serv->flags.server_sent)
{
#ifdef DEBUGMODE
@@ -699,7 +697,6 @@ CMD_FUNC(m_server_remote)
int m_server_synch(aClient *cptr, long numeric, ConfigItem_link *aconf)
{
char *inpath = get_client_name(cptr, TRUE);
extern MODVAR char serveropts[];
aClient *acptr;
char buf[BUFSIZE];
int incoming = IsUnknown(cptr) ? 1 : 0;