diff options
-rw-r--r-- | src/InspIRCd.layout | 40 | ||||
-rw-r--r-- | src/inspircd_io.cpp | 6 |
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); } |