From 783f77d367b6117658e87898db4b5c31e7299a4a Mon Sep 17 00:00:00 2001 From: Viper Date: Mon, 22 Aug 2011 00:25:34 +0200 Subject: Added event to warn modules a nickcore gets a new display nick or is about to be dropped. (This should enable modules to more easily link their data to anopes core data.) --- docs/EVENTS | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/EVENTS b/docs/EVENTS index d8f22325d..96b324203 100644 --- a/docs/EVENTS +++ b/docs/EVENTS @@ -344,6 +344,18 @@ Anope Internal Events A user's nick has just been forbidden. av[0] The nickname that has just been forbidden. + EVENT_CORE_DROPPED + A NickCore will be dropped. Usually send when the last alias is dopped. + This is send BEFORE the event that confirms deletion of the alias. + Note that this event is send before the core data is removed. + av[0] The display nickname of the core that is being dropped. + + EVENT_CORE_NEWDISPLAY + The display nick of a NickCore is being changed. + This is send BEFORE the actual change is made in the database. + av[0] The old display nickname of the core. + av[1] The new display nickname of the core. + EVENT_NICK_GHOSTED A user has just been ghosted. av[0] EVENT_START or EVENT_STOP. EVENT_START when the user is about -- cgit