diff options
| author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-14 06:16:25 +0000 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-14 06:16:25 +0000 |
| commit | 78240c5790eb8c4c869b134b4406cefd6eae586e (patch) | |
| tree | f632a4c526243793137a6e3318ee531f22b054aa /src/config.c | |
| parent | da277ad2c981da8e1926eefcf621d3e84a7fae26 (diff) | |
Reversed the autoop flag to make it more logical. In 1.8, we set this flag to DISABLE autoop. Now we set this flag to ENABLE autoop. Also updated the database converter.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2957 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/config.c')
| -rw-r--r-- | src/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c index f023d07c2..6216a6afc 100644 --- a/src/config.c +++ b/src/config.c @@ -1550,7 +1550,6 @@ int read_config(int reload) Config.NSDefFlags.SetFlag(NI_MEMO_RECEIVE); } else if (NSDefaults != "none") { - bool hadAutoop = false; spacesepstream options(NSDefaults); std::string option; while (options.GetToken(option)) @@ -1568,9 +1567,8 @@ int read_config(int reload) else if (option == "hidequit") Config.NSDefFlags.SetFlag(NI_HIDE_QUIT); else if (option == "memosignon") Config.NSDefFlags.SetFlag(NI_MEMO_SIGNON); else if (option == "memoreceive") Config.NSDefFlags.SetFlag(NI_MEMO_RECEIVE); - else if (option == "autoop") hadAutoop = true; + else if (option == "autoop") Config.NSDefFlags.SetFlag(NI_AUTOOP); } - if (!hadAutoop) Config.NSDefFlags.SetFlag(NI_AUTOOP); } if (reload) { |
