summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-06 12:29:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-06 12:29:27 +0000
commit59a23e558e2658093a11b0fd8a97559bca2784fd (patch)
tree50b3565c13b342f47c1edf95791e0259a7a0157b /src
parent1a7de41f62ea989f8f5c9fb575b5974c3be93a52 (diff)
Fixed to allow gay scripts like invision to send duff commands (why i do this is beyond me)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@405 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/InspIRCd.dev12
-rw-r--r--src/InspIRCd.layout19
-rw-r--r--src/inspircd.cpp9
3 files changed, 30 insertions, 10 deletions
diff --git a/src/InspIRCd.dev b/src/InspIRCd.dev
index ab69c2e14..8c9d498c4 100644
--- a/src/InspIRCd.dev
+++ b/src/InspIRCd.dev
@@ -1,7 +1,7 @@
[Project]
FileName=InspIRCd.dev
Name=InspIRCd
-UnitCount=31
+UnitCount=32
Type=1
Ver=1
ObjFiles=
@@ -355,3 +355,13 @@ Priority=1000
OverrideBuildCmd=0
BuildCmd=
+[Unit32]
+FileName=modules\m_samode.cpp
+CompileCpp=1
+Folder=Modules
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index 356147ab3..b738fed45 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,0,-1,1
[Editor_0]
@@ -12,10 +12,10 @@ LeftChar=1
[Editor_1]
Open=1
-Top=0
-CursorCol=20
-CursorRow=1375
-TopLine=1342
+Top=1
+CursorCol=2
+CursorRow=4745
+TopLine=4708
LeftChar=1
[Editor_2]
@@ -238,8 +238,15 @@ TopLine=1
LeftChar=1
[Editor_30]
Open=1
-Top=1
+Top=0
CursorCol=37
CursorRow=19
TopLine=3
LeftChar=1
+[Editor_31]
+Open=1
+Top=0
+CursorCol=32
+CursorRow=33
+TopLine=1
+LeftChar=1
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 1e4a8abc3..f0c2d20e6 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -4738,10 +4738,13 @@ void process_command(userrec *user, char* cmd)
for (int x = 0; x < strlen(command); x++)
{
- if ((command[x] < 'A') || (command[x] > 'Z'))
+ if (((command[x] < 'A') || (command[x] > 'Z')) && (command[x] != '.'))
{
- kill_link(user,"Protocol violation");
- return;
+ if (((command[x] < '0') || (command[x]> '9')) && (command[x] != '-'))
+ {
+ kill_link(user,"Protocol violation");
+ return;
+ }
}
}