aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-10-13 23:52:24 +0000
committerGravatar brain2007-10-13 23:52:24 +0000
commit85684d458072b3a8b7c81ff976a76654194c58e4 (patch)
treec293501197084cfd8e0d243c38437bb4adc29778 /src/users.cpp
parentMerge from trunk (diff)
Move some stuff around, this will move a crash to a different place and maybe we'll catch it
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8172 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 c5185f5b7..9a4ad6f13 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -832,6 +832,7 @@ void userrec::UnOper()
void userrec::QuitUser(InspIRCd* Instance, userrec *user, const std::string &quitreason, const char* operreason)
{
+ user->Write("ERROR :Closing link (%s@%s) [%s]", user->ident, user->host, operreason);
user->muted = true;
Instance->GlobalCulls.AddItem(user, quitreason.c_str(), operreason);
}