summaryrefslogtreecommitdiff
path: root/src/modules/bs_fantasy_unban.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/bs_fantasy_unban.c')
-rw-r--r--src/modules/bs_fantasy_unban.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bs_fantasy_unban.c b/src/modules/bs_fantasy_unban.c
index a0c342e5c..6efa267de 100644
--- a/src/modules/bs_fantasy_unban.c
+++ b/src/modules/bs_fantasy_unban.c
@@ -29,7 +29,7 @@ class BSFantasyUnban : public Module
this->SetType(CORE);
hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy);
- moduleAddEventHook(hook);
+ this->AddEventHook(hook);
}
};