diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-29 14:46:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-29 14:46:18 +0000 |
commit | b12617d293455e80d330d54e7d59bca57afdb0a0 (patch) | |
tree | 13abad867f69ee7ee6b52370e9799d684942f029 /src/inspircd.cpp | |
parent | 44a7931867b710365859d72de0f71b5f87bbdfe3 (diff) |
Fixed uline synching
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@833 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a71cf08ab..8b8e3a9d0 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3010,6 +3010,22 @@ void DoSync(serverrec* serv, char* tcp_host) } // sync global zlines, glines, etc sync_xlines(serv,tcp_host); + + for (int j = 0; j < 32; j++) + { + if (me[j] != NULL) + { + for (int k = 0; k < me[j]->connectors.size(); k++) + { + if (is_uline(me[j]->connectors[k].GetServerName().c_str())) + { + sprintf(data,"H %s",me[j]->connectors[k].GetServerName().c_str()); + serv->SendPacket(data,tcp_host); + } + } + } + } + snprintf(data,MAXBUF,"F %d",time(NULL)); serv->SendPacket(data,tcp_host); log(DEBUG,"Sent sync"); |