summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-04 23:01:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-04 23:01:37 +0000
commitdf37353f41c864b090c15db9f795ebfe7b8092bf (patch)
treea95a59dd578cb57aa02185c607bf089aaa373352 /src
parent78a96055c428d1970ece93dfb01902ac0d1699bd (diff)
Fixes to make motd display (we were missinga readfile()?!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@381 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/InspIRCd.layout42
-rw-r--r--src/inspircd.cpp2
2 files changed, 23 insertions, 21 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index e1fdf1462..e2b9be54a 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -1,6 +1,6 @@
[Editors]
-Focused=-1
-Order=7,3,2,6,25,24,-1,1,4,5,0
+Focused=1
+Order=7,3,2,6,25,24,1,4,5,0,-1
[Editor_0]
Open=1
@@ -12,10 +12,10 @@ LeftChar=1
[Editor_1]
Open=1
-Top=0
-CursorCol=71
-CursorRow=2385
-TopLine=2361
+Top=1
+CursorCol=40
+CursorRow=403
+TopLine=381
LeftChar=1
[Editor_2]
@@ -23,7 +23,7 @@ Open=1
Top=0
CursorCol=1
CursorRow=43
-TopLine=1
+TopLine=7
LeftChar=1
[Editor_3]
@@ -67,7 +67,7 @@ TopLine=6
LeftChar=1
[Editor_8]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
@@ -75,7 +75,7 @@ TopLine=1
LeftChar=1
[Editor_9]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
@@ -84,7 +84,7 @@ LeftChar=1
[Editor_10]
Open=1
-Top=1
+Top=0
CursorCol=3
CursorRow=146
TopLine=91
@@ -99,7 +99,7 @@ TopLine=1
LeftChar=1
[Editor_12]
-Open=1
+Open=0
Top=0
CursorCol=18
CursorRow=10
@@ -107,7 +107,7 @@ TopLine=64
LeftChar=1
[Editor_13]
-Open=1
+Open=0
Top=0
CursorCol=60
CursorRow=64
@@ -115,7 +115,7 @@ TopLine=16
LeftChar=1
[Editor_14]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=23
@@ -123,7 +123,7 @@ TopLine=1
LeftChar=1
[Editor_15]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
@@ -131,7 +131,7 @@ TopLine=1
LeftChar=1
[Editor_16]
-Open=1
+Open=0
Top=0
CursorCol=21
CursorRow=22
@@ -139,7 +139,7 @@ TopLine=1
LeftChar=1
[Editor_17]
-Open=1
+Open=0
Top=0
CursorCol=5
CursorRow=88
@@ -147,7 +147,7 @@ TopLine=34
LeftChar=1
[Editor_18]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
@@ -155,7 +155,7 @@ TopLine=1
LeftChar=1
[Editor_19]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
@@ -163,7 +163,7 @@ TopLine=1
LeftChar=1
[Editor_20]
-Open=1
+Open=0
Top=0
CursorCol=89
CursorRow=297
@@ -179,7 +179,7 @@ TopLine=10
LeftChar=1
[Editor_22]
-Open=1
+Open=0
Top=0
CursorCol=19
CursorRow=90
@@ -209,7 +209,7 @@ CursorRow=76
TopLine=1
LeftChar=1
[Editor_26]
-Open=1
+Open=0
Top=0
CursorCol=7
CursorRow=63
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index d1f4bd27b..3b9835f67 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -399,6 +399,8 @@ void ReadConfig(void)
LogLevel = SPARSE;
if (!strcmp(dbg,"none"))
LogLevel = NONE;
+ readfile(MOTD,motd);
+ log(DEBUG,"Reading message of the day");
readfile(RULES,rules);
log(DEBUG,"Reading connect classes");
Classes.clear();