summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-28 23:02:07 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-28 23:02:07 +0000
commita08b3ec5924c946308ac086cd3ee7d701610d3be (patch)
tree84da442a85ffeccd6425cc7c85db9eda6e881753 /src/nickcore.cpp
parentf6b823ade85160f94544d1ad1de4d8fbc42b2712 (diff)
Massive move of all of the Config variables out of global scope to the Config class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r--src/nickcore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp
index 425cb0d93..db0445d17 100644
--- a/src/nickcore.cpp
+++ b/src/nickcore.cpp
@@ -25,7 +25,7 @@ NickCore::NickCore(const std::string &coredisplay)
/* Set default nick core flags */
for (size_t t = NI_BEGIN + 1; t != NI_END; ++t)
- if (NSDefFlags.HasFlag(static_cast<NickCoreFlag>(t)))
+ if (Config.NSDefFlags.HasFlag(static_cast<NickCoreFlag>(t)))
SetFlag(static_cast<NickCoreFlag>(t));
}
@@ -64,7 +64,7 @@ NickCore::~NickCore()
nclists[HASH(this->display)] = this->next;
/* Log .. */
- alog("%s: deleting nickname group %s", s_NickServ, this->display);
+ alog("%s: deleting nickname group %s", Config.s_NickServ, this->display);
/* Now we can safely free it. */
delete [] this->display;