summaryrefslogtreecommitdiff
path: root/src/chanserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chanserv.cpp')
-rw-r--r--src/chanserv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chanserv.cpp b/src/chanserv.cpp
index b66a36dbe..ef203c064 100644
--- a/src/chanserv.cpp
+++ b/src/chanserv.cpp
@@ -471,10 +471,12 @@ void cs_remove_nick(NickCore *nc)
ChannelInfo *cs_findchan(const Anope::string &chan)
{
- registered_channel_map::const_iterator it = RegisteredChannelList.find(chan);
+ FOREACH_MOD(I_OnFindChan, OnFindChan(chan));
+ registered_channel_map::const_iterator it = RegisteredChannelList.find(chan);
if (it != RegisteredChannelList.end())
return it->second;
+
return NULL;
}