summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-14 13:44:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-14 13:44:51 +0000
commit4fcd9c9f2c71e14781ce230899f60ba3df88ffc5 (patch)
tree388012ebe04f6451585759d397f2aee750957661 /src
parent236d23e6540b437a77546410c8740d337e56db02 (diff)
Unknown change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@884 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/InspIRCd.layout40
-rw-r--r--src/inspircd_io.cpp6
2 files changed, 21 insertions, 25 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index ece0c9698..f544f95dd 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -1,5 +1,5 @@
[Editors]
-Focused=2
+Focused=5
Order=2,4,6,3,7,25,5,24,39,42,43,1,46,0,49
[Editor_0]
@@ -13,17 +13,17 @@ LeftChar=1
[Editor_1]
Open=1
Top=0
-CursorCol=4
-CursorRow=3246
-TopLine=3201
+CursorCol=27
+CursorRow=2174
+TopLine=2159
LeftChar=1
[Editor_2]
Open=1
-Top=1
-CursorCol=12
-CursorRow=93
-TopLine=62
+Top=0
+CursorCol=15
+CursorRow=17
+TopLine=1
LeftChar=1
[Editor_3]
@@ -44,7 +44,7 @@ LeftChar=1
[Editor_5]
Open=1
-Top=0
+Top=1
CursorCol=6
CursorRow=43
TopLine=1
@@ -197,9 +197,9 @@ LeftChar=1
[Editor_24]
Open=1
Top=0
-CursorCol=28
-CursorRow=236
-TopLine=184
+CursorCol=12
+CursorRow=403
+TopLine=1
LeftChar=1
[Editor_25]
Open=1
@@ -304,7 +304,7 @@ Open=1
Top=0
CursorCol=7
CursorRow=451
-TopLine=441
+TopLine=1
LeftChar=1
[Editor_40]
Open=0
@@ -323,16 +323,16 @@ LeftChar=1
[Editor_42]
Open=1
Top=0
-CursorCol=35
-CursorRow=1779
-TopLine=1730
+CursorCol=2
+CursorRow=479
+TopLine=479
LeftChar=1
[Editor_43]
Open=1
Top=0
-CursorCol=32
-CursorRow=2925
-TopLine=2867
+CursorCol=1
+CursorRow=450
+TopLine=399
LeftChar=1
[Editor_44]
Open=0
@@ -430,7 +430,7 @@ Open=0
Top=0
CursorCol=1
CursorRow=81
-TopLine=44
+TopLine=5
LeftChar=1
[Editor_58]
Open=0
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 27473cfe6..a7a180a88 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -14,10 +14,8 @@
* ---------------------------------------------------
*/
-#ifdef __linux__
+#include <sys/time.h>
#include <sys/resource.h>
-#endif
-
#include <sys/types.h>
#include <string>
#include <unistd.h>
@@ -96,9 +94,7 @@ int DaemonSeed (void)
close(1);
close(2);
- #ifdef __linux__
setpriority(PRIO_PROCESS,(int)getpid(),15); /* ircd sets to low process priority so it doesnt hog the box */
- #endif
return (TRUE);
}