mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 19:03:13 +02:00
- Fix for HOOKTYPE_REMOTE_QUIT (was called for local quits too)
This commit is contained in:
@@ -2430,3 +2430,4 @@ seen. gmtime warning still there
|
||||
- Added HOOKTYPE_REMOTE_QUIT
|
||||
- Added beta18 release notes (might be changed)
|
||||
- Added HOOKTYPE_REHASHFLAG (triggered when /rehash is passed a flag)
|
||||
- Fix for HOOKTYPE_REMOTE_QUIT (was called for local quits too)
|
||||
|
||||
+4
-1
@@ -655,7 +655,10 @@ static void exit_one_client(aClient *cptr, aClient *sptr, aClient *from, char *c
|
||||
sptr->user->server, sptr->name,
|
||||
sptr->user->username,
|
||||
sptr->user->realhost, comment);
|
||||
RunHook2(HOOKTYPE_REMOTE_QUIT, sptr, comment);
|
||||
if (!MyClient(sptr))
|
||||
{
|
||||
RunHook2(HOOKTYPE_REMOTE_QUIT, sptr, comment);
|
||||
}
|
||||
while ((mp = sptr->user->channel))
|
||||
remove_user_from_channel(sptr, mp->chptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user