From 12cff8dd2f83c8186a41db6075708157dc3c3bd0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Apr 2004 23:10:29 +0000 Subject: 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 --- src/modules/m_saquit.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/modules/m_saquit.cpp') 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); } -- cgit v1.2.3