From a1296a3b7c327f6f969b859488006cb69fb68801 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 17 Feb 2011 15:29:00 -0500 Subject: Changed the OnNickDrop event to call before the nick is deleted --- include/modules.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index fd032fe87..4532549f1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -827,9 +827,10 @@ class CoreExport Module : public Extensible virtual void OnFindChan(const Anope::string &chname) { } /** Called when a nick is dropped - * @param nick The nick + * @param u The user dropping the nick + * @param na The nick */ - virtual void OnNickDrop(const Anope::string &nick) { } + virtual void OnNickDrop(User *u, NickAlias *na) { } /** Called when a nick is forbidden * @param na The nick alias of the forbidden nick -- cgit