diff options
| author | Adam <Adam@anope.org> | 2011-02-17 15:29:00 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-18 11:48:20 -0500 |
| commit | a1296a3b7c327f6f969b859488006cb69fb68801 (patch) | |
| tree | fcfcbd0003a9679efb69c19432f0c187c139ef33 /include | |
| parent | f38fe242cda9cbe8df9b055ed1f2185468d6d018 (diff) | |
Changed the OnNickDrop event to call before the nick is deleted
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
