summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 23:52:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 23:52:02 +0000
commit8343f1286b7d45e931c78028a4e4be93a03c3e91 (patch)
tree428e41b3bd34ca0c0358dce48e49f5cb6eab0179 /src/users.cpp
parent178d4697c55c7c4c932d6e1564815f3ab0a1a6d2 (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/trunk/inspircd@8171 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 8ab475bd9..79877d9c8 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -849,6 +849,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);
}