summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 23:10:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 23:10:29 +0000
commit12cff8dd2f83c8186a41db6075708157dc3c3bd0 (patch)
tree9b9f92112343da0954c15c77633ab2eaaef24df7
parent0772585d9fc8c4c95ec88709974875d981987d7d (diff)
Fixed typo in m_saquit (missing ;) w00t needs to test what he commits.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@435 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/InspIRCd.dev12
-rw-r--r--src/InspIRCd.layout13
-rw-r--r--src/modules/m_saquit.cpp15
3 files changed, 28 insertions, 12 deletions
diff --git a/src/InspIRCd.dev b/src/InspIRCd.dev
index 113cdd510..4f7a65363 100644
--- a/src/InspIRCd.dev
+++ b/src/InspIRCd.dev
@@ -1,7 +1,7 @@
[Project]
FileName=InspIRCd.dev
Name=InspIRCd
-UnitCount=38
+UnitCount=39
Type=1
Ver=1
ObjFiles=
@@ -423,3 +423,13 @@ Priority=1000
OverrideBuildCmd=0
BuildCmd=
+[Unit39]
+FileName=modules\m_saquit.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 793f452b4..112845329 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -265,7 +265,7 @@ TopLine=41
LeftChar=1
[Editor_35]
Open=1
-Top=1
+Top=0
CursorCol=1
CursorRow=25
TopLine=1
@@ -273,8 +273,8 @@ LeftChar=1
[Editor_36]
Open=1
Top=0
-CursorCol=3
-CursorRow=34
+CursorCol=21
+CursorRow=30
TopLine=1
LeftChar=1
[Editor_37]
@@ -284,3 +284,10 @@ CursorCol=37
CursorRow=29
TopLine=1
LeftChar=1
+[Editor_38]
+Open=1
+Top=1
+CursorCol=3
+CursorRow=33
+TopLine=1
+LeftChar=1
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index d7151e5ec..0c6ca949d 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -23,14 +23,13 @@ void handle_saquit(char **parameters, int pcnt, userrec *user)
userrec* dest = Srv->FindNick(std::string(parameters[0]));
if (dest)
{
-
- std::string line = "";
- for (int i = 1; i < pcnt - 1; i++)
- {
- line = line + std::string(parameters[i]) + " ";
- }
- line = line + std::string(parameters[pcnt-1])
-
+ std::string line = "";
+ for (int i = 1; i < pcnt - 1; i++)
+ {
+ line = line + std::string(parameters[i]) + " ";
+ }
+ line = line + std::string(parameters[pcnt-1]);
+
Srv->SendOpers(std::string(user->nick)+" used SAQUIT to make "+std::string(dest->nick)+" quit with a reason of "+line);
Srv->QuitUser(dest, line);
}