diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 23:10:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 23:10:29 +0000 |
commit | 12cff8dd2f83c8186a41db6075708157dc3c3bd0 (patch) | |
tree | 9b9f92112343da0954c15c77633ab2eaaef24df7 /src/modules | |
parent | 0772585d9fc8c4c95ec88709974875d981987d7d (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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_saquit.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
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); } |