mirror of
https://github.com/anope/anope.git
synced 2026-07-08 23:13:12 +02:00
BUILD : 1.7.8 (574) BUGS : N/A NOTES : Internal Events, Win32 can build with encryption, nickIsServices() works if format is nick@services
git-svn-id: svn://svn.anope.org/anope/trunk@574 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@424 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
f194129217
commit
59f3a38ffd
@@ -683,6 +683,8 @@ int init(int ac, char **av)
|
||||
alog("Info: Not reflecting database records.");
|
||||
}
|
||||
#endif
|
||||
send_event(EVENT_CONNECT, EVENT_START);
|
||||
|
||||
/* Connect to the remote server */
|
||||
servsock = conn(RemoteServer, RemotePort, LocalHost, LocalPort);
|
||||
if (servsock < 0 && RemoteServer2) {
|
||||
@@ -715,6 +717,7 @@ int init(int ac, char **av)
|
||||
}
|
||||
|
||||
anope_cmd_connect(servernum);
|
||||
send_event(EVENT_CONNECT, EVENT_STOP);
|
||||
|
||||
sgets2(inbuf, sizeof(inbuf), servsock);
|
||||
if (strnicmp(inbuf, "ERROR", 5) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user