From c6741d3765d0a8dbf34e80a34573333e45b5ec6b Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 7 Aug 2011 19:04:27 -0400 Subject: Always reset the levels of newly created channels, fixed DetermineLevel matching ACCESS_INVALID levels, and added in a disabled config option for levels --- src/regchannel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index a13e47009..ce5bef71c 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -56,6 +56,8 @@ ChannelInfo::ChannelInfo(const Anope::string &chname) : Flagsttb[i] = 0; RegisteredChannelList[this->name] = this; + + FOREACH_MOD(I_OnCreateChan, OnCreateChan(this)); } /** Copy constructor -- cgit