summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 08:55:18 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 08:55:18 +0000
commit32026e5b6f345be8bfeddde939e69eec6618fe6b (patch)
tree271eb7bf7c3797088a994a308937f82be315dd4a /src/users.cpp
parent1963fba97f107f73fa825b22e9ae5a027f5292d9 (diff)
Re-add support for silent quits (note: we also remove an O(n) doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1d2b16dee..f2c2d9ae4 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -709,6 +709,7 @@ void User::QuitUser(InspIRCd* Instance, User *user, const std::string &quitreaso
Instance->Log(DEBUG,"QuitUser: %s '%s'", user->nick, quitreason.c_str());
user->Write("ERROR :Closing link (%s@%s) [%s]", user->ident, user->host, *operreason ? operreason : quitreason.c_str());
user->muted = true;
+ user->quietquit = false;
user->quitmsg = quitreason;
user->operquitmsg = operreason;
Instance->GlobalCulls.AddItem(user);