summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-07 19:04:27 -0400
committerAdam <Adam@anope.org>2011-08-07 19:04:27 -0400
commitc6741d3765d0a8dbf34e80a34573333e45b5ec6b (patch)
tree552e5b4f2e6f2819ed7686b3c9aa4b2fce5382d4 /src
parent25e3408ff654a9cb8ac15af41e3e015cbe85a444 (diff)
Always reset the levels of newly created channels, fixed DetermineLevel matching ACCESS_INVALID levels, and added in a disabled config option for levels
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp2
1 files changed, 2 insertions, 0 deletions
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) : Flags<ChannelInfoFlag, C
this->ttb[i] = 0;
RegisteredChannelList[this->name] = this;
+
+ FOREACH_MOD(I_OnCreateChan, OnCreateChan(this));
}
/** Copy constructor