summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-03-30 18:38:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-03-30 18:38:25 +0000
commitdea4ae61bd327818f1c8f9d47991a4a4fc251f8d (patch)
treecfe20b4ef037aa99c573d60922032c8a8f0a6509 /src
parent7455e1c881f12eaf3ec9658ac84add6b61b131a3 (diff)
Updated docs
Added RAW processor methods to module class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@172 e03df62e-2008-0410-955e-edbf42e46eb7
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