From 090e691462bbe60c72c734f454f6d1e20c41a4e8 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Nov 2005 15:37:04 +0000 Subject: Added reason to OnUserQuit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2007 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') 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); } -- cgit v1.2.3