summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 15:37:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 15:37:04 +0000
commit090e691462bbe60c72c734f454f6d1e20c41a4e8 (patch)
treef5e60b4b9898da5b8ece7946738d85800f4489b0 /src/inspircd.cpp
parent35ac0e70f91f17f6d150fa99819f4bc88071d9c6 (diff)
Added reason to OnUserQuit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2007 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index fa5e420c5..68aee8681 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -1097,7 +1097,7 @@ void kill_link(userrec *user,const char* r)
log(DEBUG,"closing fd %lu",(unsigned long)user->fd);
if (user->registered == 7) {
- FOREACH_MOD OnUserQuit(user);
+ FOREACH_MOD OnUserQuit(user,reason);
WriteCommonExcept(user,"QUIT :%s",reason);
}