diff options
-rw-r--r-- | include/inspircd.h | 1 | ||||
-rw-r--r-- | src/InspIRCd.layout | 14 | ||||
-rw-r--r-- | src/connection.cpp | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 36d902fbf..13c3a0f5d 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -116,6 +116,7 @@ void call_handler(const char* commandname,char **parameters, int pcnt, userrec * void send_network_quit(const char* nick, const char* reason); void ChangeName(userrec* user, const char* gecos); void ChangeDisplayedHost(userrec* user, const char* host); +long GetRevision(); // mesh network functions diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index ff0f11a2a..19472df8c 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -13,9 +13,9 @@ LeftChar=1 [Editor_1] Open=1 Top=0 -CursorCol=14 -CursorRow=300 -TopLine=265 +CursorCol=31 +CursorRow=6996 +TopLine=6969 LeftChar=1 [Editor_2] @@ -197,10 +197,10 @@ LeftChar=1 [Editor_24] Open=1 Top=1 -CursorCol=86 -CursorRow=368 -TopLine=323 -LeftChar=1 +CursorCol=94 +CursorRow=175 +TopLine=161 +LeftChar=18 [Editor_25] Open=1 Top=0 diff --git a/src/connection.cpp b/src/connection.cpp index bd9595004..ad9133031 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -172,7 +172,7 @@ bool connection::BeginLink(char* targethost, int port, char* password, char* ser // targethost has been turned into an ip... // we dont want this as the server name. connector.SetServerName(servername); - sprintf(connect,"S %s %s %d :%s",getservername().c_str(),password,myport,getserverdesc().c_str()); + sprintf(connect,"S %s %s %d %d :%s",getservername().c_str(),password,myport,GetRevision(),getserverdesc().c_str()); connector.SetState(STATE_NOAUTH_OUTBOUND); connector.SetHostAndPort(targethost, port); this->connectors.push_back(connector); |