summaryrefslogtreecommitdiff
path: root/modules/bs_autoassign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bs_autoassign.cpp')
-rw-r--r--modules/bs_autoassign.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bs_autoassign.cpp b/modules/bs_autoassign.cpp
index e7543d646..e9a6e062b 100644
--- a/modules/bs_autoassign.cpp
+++ b/modules/bs_autoassign.cpp
@@ -14,11 +14,11 @@ class BSAutoAssign : public Module
{
public:
BSAutoAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
- , EventHook<Event::ChanRegistered>("OnChanRegistered")
+ , EventHook<Event::ChanRegistered>("OnChanRegistered")
{
}
- void OnChanRegistered(ChannelInfo *ci) override
+ void OnChanRegistered(ChanServ::Channel *ci) override
{
const Anope::string &bot = Config->GetModule(this)->Get<const Anope::string>("bot");
if (bot.empty())