summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-31 01:25:10 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-31 01:25:10 +0000
commit657e1deb590eaba38ea3e9a9fb353dc0e23c1a41 (patch)
tree49f2c00ae2cd99cd72ae0b7afe9174848bf3041b /src/regchannel.cpp
parentc595e6755de6ecfd1fec58c48ec28c926478da01 (diff)
Added in new plaintext databases. Note: This currently has no automatic backup feature. Big thanks to Phil on this for mass scale testing
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 9f5c51c8e..bbb63a13e 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -34,16 +34,13 @@ ChannelInfo::ChannelInfo(const std::string &chname)
capsmin = capspercent = 0;
floodlines = floodsecs = 0;
repeattimes = 0;
+ bi = NULL;
strscpy(this->name, chname.c_str(), CHANMAX);
- /* If ircd doesn't exist, this is from DB load and mlock is set later */
- if (ircd)
- {
- mlock_on = DefMLockOn;
- mlock_off = DefMLockOff;
- Params = DefMLockParams;
- }
+ mlock_on = DefMLockOn;
+ mlock_off = DefMLockOff;
+ Params = DefMLockParams;
size_t t;
/* Set default channel flags */