diff options
Diffstat (limited to 'src/modules/m_saquit.cpp')
-rw-r--r-- | src/modules/m_saquit.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index e5722bffe..8174d5a64 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -3,13 +3,13 @@ * +------------------------------------+ * * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * <brain@chatspike.net> - * <Craig@chatspike.net> + * E-mail: + * <brain@chatspike.net> + * <Craig@chatspike.net> * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see - * the file COPYING for details. + * the file COPYING for details. * * --------------------------------------------------- */ @@ -49,6 +49,11 @@ class cmd_saquit : public command_t userrec* dest = Srv->FindNick(std::string(parameters[0])); if (dest) { + if (Srv->IsUlined(dest->server)) + { + WriteServ(user->fd,"990 %s :Cannot use an SA command on a u-lined client",user->nick); + return; + } std::string line = ""; for (int i = 1; i < pcnt - 1; i++) { |