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:
@@ -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]);
|
||||
|
||||
@@ -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 "_"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user