summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/InspIRCd.layout20
-rw-r--r--src/inspircd.cpp6
2 files changed, 16 insertions, 10 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index 63fdda4df..7820e4f7a 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -1,5 +1,5 @@
[Editors]
-Focused=-1
+Focused=1
Order=1,7,3,2,0,6,5,4,-1
[Editor_0]
@@ -12,10 +12,10 @@ LeftChar=1
[Editor_1]
Open=1
-Top=0
-CursorCol=21
-CursorRow=199
-TopLine=179
+Top=1
+CursorCol=25
+CursorRow=3672
+TopLine=3433
LeftChar=1
[Editor_2]
@@ -164,11 +164,11 @@ LeftChar=1
[Editor_20]
Open=1
-Top=1
-CursorCol=61
-CursorRow=104
-TopLine=71
-LeftChar=1
+Top=0
+CursorCol=68
+CursorRow=135
+TopLine=94
+LeftChar=3
[Editor_21]
Open=0
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 839ad82c8..2eff65bfe 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -3665,6 +3665,12 @@ void process_command(userrec *user, char* cmd)
return;
}
strcpy(temp,cmd);
+
+ string temp = cmd;
+ FOREACH_MOD OnServerRaw(temp,true);
+ const char* cmd2 = temp.c_str();
+ sprintf(cmd,"%s",cmd2);
+
if (!strchr(cmd,' '))
{
/* no parameters, lets skip the formalities and not chop up