summaryrefslogtreecommitdiff
path: root/src/modules/m_saquit.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-09 19:11:12 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-09 19:11:12 +0000
commit3a5025f4f508b0f1306048e89f42830a6323510d (patch)
treec87b7df26af8b5cf5deb35a2eecccf26ac3e9e39 /src/modules/m_saquit.cpp
parent118b2af99b9a6a3faf7ec6f91e66ada0183adf09 (diff)
Don't stringjoin here, we don't for any other commands (cban, *line) so I'd like to stay consistant. This also won't confuse any third party apps. This is my fault, I hated colons when I first started working on insp. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9684 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_saquit.cpp')
-rw-r--r--src/modules/m_saquit.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 7766a40ed..ac986b1ec 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -38,15 +38,13 @@ class CommandSaquit : public Command
return CMD_FAILURE;
}
- irc::stringjoiner reason_join(" ", parameters, 1, parameters.size() - 1);
- std::string line = reason_join.GetJoined();
- ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" used SAQUIT to make "+std::string(dest->nick)+" quit with a reason of "+line);
+ ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" used SAQUIT to make "+std::string(dest->nick)+" quit with a reason of "+parameters[1]);
// Pass the command on, so the client's server can quit it properly.
if (!IS_LOCAL(dest))
return CMD_SUCCESS;
- ServerInstance->Users->QuitUser(dest, line);
+ ServerInstance->Users->QuitUser(dest, parameters[1]);
return CMD_LOCALONLY;
}
else