diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 22:11:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 22:11:55 +0000 |
commit | 2f5a1dcc42c959e65b5322312dd38b1e7fd446ea (patch) | |
tree | 8436052179e5385e35c11a127efb23fed5e6b51b /src | |
parent | cef32ad29d2a20655fe9a30687f088a6ba62263e (diff) |
Fixes to recovery
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/InspIRCd.layout | 24 | ||||
-rw-r--r-- | src/connection.cpp | 2 |
2 files changed, 14 insertions, 12 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index 82d8a09f2..a15be3eea 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=1 +Focused=24 Order=1,2,4,6,3,7,25,5,24,-1 [Editor_0] @@ -12,10 +12,10 @@ LeftChar=1 [Editor_1] Open=1 -Top=1 +Top=0 CursorCol=1 -CursorRow=7182 -TopLine=7154 +CursorRow=6719 +TopLine=6692 LeftChar=1 [Editor_2] @@ -111,7 +111,7 @@ Open=1 Top=0 CursorCol=51 CursorRow=125 -TopLine=40 +TopLine=34 LeftChar=1 [Editor_14] @@ -141,9 +141,9 @@ LeftChar=1 [Editor_17] Open=1 Top=0 -CursorCol=20 -CursorRow=119 -TopLine=74 +CursorCol=31 +CursorRow=130 +TopLine=76 LeftChar=1 [Editor_18] @@ -196,10 +196,10 @@ LeftChar=1 [Editor_24] Open=1 -Top=0 -CursorCol=7 -CursorRow=348 -TopLine=314 +Top=1 +CursorCol=1 +CursorRow=246 +TopLine=244 LeftChar=1 [Editor_25] Open=1 diff --git a/src/connection.cpp b/src/connection.cpp index c003f9ff7..2ab984332 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -140,6 +140,7 @@ bool ircd_connector::MakeOutboundConnection(char* host, int port) if(connect(this->fd, (sockaddr*)&this->addr,sizeof(this->addr))) { WriteOpers("connect() failed for %s",host); + RemoveServer(this->servername.c_str()); return false; } int flags = fcntl(this->fd, F_GETFL, 0); @@ -153,6 +154,7 @@ bool ircd_connector::MakeOutboundConnection(char* host, int port) else { WriteOpers("socket() failed!"); + RemoveServer(this->servername.c_str()); } return false; |