summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/InspIRCd.dev69
-rw-r--r--src/InspIRCd.layout23
-rw-r--r--src/modules/m_testcommand.cpp4
3 files changed, 84 insertions, 12 deletions
diff --git a/src/InspIRCd.dev b/src/InspIRCd.dev
index df23f865d..828ffbdd9 100644
--- a/src/InspIRCd.dev
+++ b/src/InspIRCd.dev
@@ -1,7 +1,7 @@
[Project]
FileName=InspIRCd.dev
Name=InspIRCd
-UnitCount=26
+UnitCount=27
Type=1
Ver=1
ObjFiles=
@@ -10,7 +10,6 @@ Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
-Resources=
Compiler=
Linker=
IsCpp=1
@@ -26,6 +25,7 @@ IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=000000000000000000
+CppCompiler=
[Unit1]
FileName=wildcard.cpp
@@ -34,6 +34,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c wildcard.cpp -o wildcard.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit2]
FileName=inspircd.cpp
@@ -42,6 +44,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c inspircd.cpp -o inspircd.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit3]
FileName=inspircd_io.cpp
@@ -50,6 +54,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c inspircd_io.cpp -o inspircd_io.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit4]
FileName=inspircd_util.cpp
@@ -58,6 +64,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c inspircd_util.cpp -o inspircd_util.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit5]
FileName=modules.cpp
@@ -66,6 +74,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c modules.cpp -o modules.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit6]
FileName=servers.cpp
@@ -74,6 +84,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c servers.cpp -o servers.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit7]
FileName=users.cpp
@@ -82,6 +94,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c users.cpp -o users.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit8]
FileName=dynamic.cpp
@@ -90,6 +104,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c dynamic.cpp -o dynamic.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit9]
FileName=modules\m_randquote.cpp
@@ -98,6 +114,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c m_randquote.cpp -o m_randquote.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit10]
FileName=modules\m_foobar.cpp
@@ -106,6 +124,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c m_foobar.cpp -o m_foobar.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit11]
FileName=modules\m_cloaking.cpp
@@ -114,6 +134,8 @@ Compile=0
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=$(CPP) -c m_cloaking.cpp -o m_cloaking.o $(CXXFLAGS)
+Link=1
+Priority=1000
[Unit12]
FileName=..\include\wildcard.h
@@ -122,6 +144,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit13]
FileName=..\include\channels.h
@@ -130,6 +154,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit14]
FileName=..\include\connection.h
@@ -138,6 +164,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit15]
FileName=..\include\ctables.h
@@ -146,6 +174,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit16]
FileName=..\include\dynamic.h
@@ -154,6 +184,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit17]
FileName=..\include\globals.h
@@ -162,6 +194,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit18]
FileName=..\include\inspircd.h
@@ -170,6 +204,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit20]
FileName=..\include\inspircd_util.h
@@ -178,6 +214,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit21]
FileName=..\include\modules.h
@@ -186,6 +224,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit22]
FileName=..\include\servers.h
@@ -194,6 +234,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit23]
FileName=..\include\users.h
@@ -202,6 +244,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit24]
FileName=..\include\base.h
@@ -210,14 +254,18 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit25]
-FileName=N:\inspircd-cvs\inspircd\src\connection.cpp
+FileName=connection.cpp
Folder=Source
Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[VersionInfo]
Major=0
@@ -235,6 +283,7 @@ LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=
+AutoIncBuildNr=0
[Unit19]
FileName=..\include\inspircd_io.h
@@ -243,6 +292,8 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
[Unit26]
FileName=channels.cpp
@@ -251,4 +302,16 @@ Compile=1
CompileCpp=1
OverrideBuildCmd=0
BuildCmd=
+Link=1
+Priority=1000
+
+[Unit27]
+FileName=modules\m_testcommand.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 d2493a3e8..ced5aa688 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -1,5 +1,5 @@
[Editors]
-Focused=4
+Focused=-1
Order=1,7,3,2,0,6,5,4,25,24,-1
[Editor_0]
@@ -14,8 +14,8 @@ LeftChar=1
Open=1
Top=0
CursorCol=1
-CursorRow=2505
-TopLine=2476
+CursorRow=4004
+TopLine=3977
LeftChar=1
[Editor_2]
@@ -36,10 +36,10 @@ LeftChar=1
[Editor_4]
Open=1
-Top=1
+Top=0
CursorCol=5
CursorRow=47
-TopLine=27
+TopLine=77
LeftChar=1
[Editor_5]
@@ -165,9 +165,9 @@ LeftChar=1
[Editor_20]
Open=1
Top=0
-CursorCol=21
-CursorRow=23
-TopLine=276
+CursorCol=8
+CursorRow=38
+TopLine=30
LeftChar=1
[Editor_21]
@@ -208,3 +208,10 @@ CursorCol=2
CursorRow=22
TopLine=1
LeftChar=1
+[Editor_26]
+Open=1
+Top=1
+CursorCol=47
+CursorRow=18
+TopLine=1
+LeftChar=1
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index fe205ccc5..72ca9e16a 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -12,8 +12,10 @@ Server *Srv;
void handle_woot(char **parameters, int pcnt, userrec *user)
{
// this test command just accepts:
- // /woot <text>
+ // /woot :<text>
// and sends <text> to all opers with +s mode.
+ // NB: The ':' is *REQUIRED* otherwise the parser will
+ // split the line into multiple parameters[]!
Srv->SendOpers(parameters[0]);
}