diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-04-04 18:30:02 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-04-04 18:30:02 +0200 |
commit | 23183603b7ea3b2a50ce082d573bef07ab794686 (patch) | |
tree | e6076a2aeeac67c6dca294f83b30f9d326d24d70 /src/modules/m_saquit.cpp | |
parent | 957676efd8e1330f1e1314046376f3d9dd1eab18 (diff) |
Add REG_ALL checks to treat unregistered users as nonexistent in more cases
Diffstat (limited to 'src/modules/m_saquit.cpp')
-rw-r--r-- | src/modules/m_saquit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 3b7bdc824..909a026ab 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -37,7 +37,7 @@ class CommandSaquit : public Command CmdResult Handle (const std::vector<std::string>& parameters, User *user) { User* dest = ServerInstance->FindNick(parameters[0]); - if ((dest) && (!IS_SERVER(dest))) + if ((dest) && (!IS_SERVER(dest)) && (dest->registered == REG_ALL)) { if (ServerInstance->ULine(dest->server)) { |