diff options
-rw-r--r-- | src/InspIRCd.layout | 14 | ||||
-rw-r--r-- | src/inspircd.cpp | 5 |
2 files changed, 12 insertions, 7 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index c59b52571..8b3fba399 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=-1 +Focused=1 Order=7,3,2,6,25,24,4,5,-1,1,0 [Editor_0] @@ -12,11 +12,11 @@ LeftChar=1 [Editor_1] Open=1 -Top=0 -CursorCol=1 -CursorRow=1 -TopLine=1 -LeftChar=1 +Top=1 +CursorCol=91 +CursorRow=2991 +TopLine=2957 +LeftChar=11 [Editor_2] Open=1 @@ -224,7 +224,7 @@ TopLine=1 LeftChar=1 [Editor_28] Open=1 -Top=1 +Top=0 CursorCol=1 CursorRow=24 TopLine=5 diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 698644630..d4095132b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2986,6 +2986,11 @@ int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start plist[i] = '\0'; strcpy(blog[j++],param); param = plist+i+1; + if (j>20) + { + WriteServ(user->fd,"407 %s :Too many targets in list, message not delivered.",blog[j-1]); + return 1; + } } } strcpy(blog[j++],param); |