diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-06 23:33:23 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-06 23:33:23 +0000 |
commit | 9ff6ed2430ed87014846b39456b31b7aba231e48 (patch) | |
tree | 0f61726fefb323c39696510ac38e5bc30d44fa2b /src/core/cs_drop.c | |
parent | 2eae73808355d8a26886bfcf42f03db02e53f1e6 (diff) |
New events stuff, patch totally by Adam (aka Awesome).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r-- | src/core/cs_drop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index 25f381a37..8e6328607 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -90,7 +90,9 @@ class CommandCSDrop : public Command } notice_lang(s_ChanServ, u, CHAN_DROPPED, chan); - send_event(EVENT_CHAN_DROP, 1, chan); + + FOREACH_MOD(I_OnChanDrop, OnChanDrop(chan)); + return MOD_CONT; } |