summaryrefslogtreecommitdiff
path: root/modules/commands/os_akill.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 18:07:34 -0500
committerAdam <Adam@anope.org>2012-02-18 18:07:34 -0500
commit0ba58d7d0eea4e2a0e0d18a66880f84af6fea60e (patch)
tree58d0311a585ebfef9abb304a412226505e0febfe /modules/commands/os_akill.cpp
parent1536c5cf60dd183fb5c98651decde381a91ada44 (diff)
Fixed some events
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r--modules/commands/os_akill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp
index 89485f706..d886ce2b3 100644
--- a/modules/commands/os_akill.cpp
+++ b/modules/commands/os_akill.cpp
@@ -316,11 +316,11 @@ class CommandOSAKill : public Command
void DoClear(CommandSource &source)
{
User *u = source.u;
- FOREACH_MOD(I_OnDelXLine, OnDelXLine(u, NULL, akills));
for (unsigned i = akills->GetCount(); i > 0; --i)
{
XLine *x = akills->GetEntry(i - 1);
+ FOREACH_MOD(I_OnDelXLine, OnDelXLine(u, x, akills));
akills->DelXLine(x);
}