1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 14:43:13 +02:00
This commit is contained in:
stskeeps
2003-10-31 17:13:34 +00:00
parent ba0dd97653
commit 5a32b8dc7e
+2
View File
@@ -3265,6 +3265,7 @@ aChannel *get_channel(aClient *cptr, char *chname, int flag)
channel = chptr;
(void)add_to_channel_hash_table(chname, chptr);
IRCstats.channels++;
RunHook2(HOOKTYPE_CHANNEL_CREATE, cptr, chptr);
}
return chptr;
}
@@ -3362,6 +3363,7 @@ void sub1_from_channel(aChannel *chptr)
/*
* Now, find all invite links from channel structure
*/
RunHook(HOOKTYPE_CHANNEL_DESTROY, chptr);
while ((lp = chptr->invites))
del_invite(lp->value.cptr, chptr);