diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-05 22:12:48 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-05 22:12:48 +0000 |
| commit | 4630ae454ad64eb9abca106a1b2261c2f45e263a (patch) | |
| tree | ab65f050172173d030166bb16278a8ccd984b51f /src/regchannel.cpp | |
| parent | 42b8cfe404d7a00de14ecd00a5f6f58fc4fc00af (diff) | |
Added options:mlock in the config so you can set what modes should be locked on new channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 993000b38..07bdc1c15 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -39,7 +39,11 @@ ChannelInfo::ChannelInfo(const std::string &chname) /* If ircd doesn't exist, this is from DB load and mlock is set later */ if (ircd) - mlock_on = ircd->DefMLock; + { + mlock_on = DefMLockOn; + mlock_off = DefMLockOff; + Params = DefMLockParams; + } size_t t; /* Set default channel flags */ |
