diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 01:34:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 01:34:00 +0000 |
commit | c1d266269619fb84f3c08b153227ec819b6fc82a (patch) | |
tree | 04fcf5343f17a5311c0a73bdb28e61224a1f0b6b /src | |
parent | 6e984f891250de535dbe2b8a9fde43f80862eec7 (diff) |
Adjusted OnRawSocketClose to new system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2503 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f5183646c..0552ca882 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -376,7 +376,10 @@ void kill_link(userrec *user,const char* r) if (user->fd > -1) { - FOREACH_MOD OnRawSocketClose(user->fd); + if (IOHookModule) + { + IOHookModule->OnRawSocketClose(user->fd); + } SE->DelFd(user->fd); user->CloseSocket(); } @@ -436,7 +439,10 @@ void kill_link_silent(userrec *user,const char* r) if (user->fd > -1) { - FOREACH_MOD OnRawSocketClose(user->fd); + if (IOHookModule) + { + IOHookModule->OnRawSocketClose(user->fd); + } SE->DelFd(user->fd); user->CloseSocket(); } |