summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-04 20:47:58 -0500
committerAdam <Adam@anope.org>2011-03-04 20:47:58 -0500
commit90e5d0feaa1646c28cfce45dbde1a914a6f1d62c (patch)
treee81cf931c36401b418933aec264c7a260aa5a98a /src
parentd79e22bfaa089e32520d63f633ee499a36905366 (diff)
Added LDAP support
Diffstat (limited to 'src')
-rw-r--r--src/nickalias.cpp1
-rw-r--r--src/nickcore.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp
index 532eb76ba..258e46a07 100644
--- a/src/nickalias.cpp
+++ b/src/nickalias.cpp
@@ -32,7 +32,6 @@ NickAlias::NickAlias(const Anope::string &nickname, NickCore *nickcore) : Flags<
throw CoreException("Empty nickcore passed to NickAlias constructor");
this->time_registered = this->last_seen = Anope::CurTime;
-
this->nick = nickname;
this->nc = nickcore;
this->nc->aliases.push_back(this);
diff --git a/src/nickcore.cpp b/src/nickcore.cpp
index aa8202c51..4863d3244 100644
--- a/src/nickcore.cpp
+++ b/src/nickcore.cpp
@@ -12,6 +12,8 @@ NickCore::NickCore(const Anope::string &coredisplay) : Flags<NickCoreFlag, NI_EN
this->ot = NULL;
this->channelcount = 0;
this->lastmail = 0;
+ this->memos.memomax = Config->MSMaxMemos;
+ this->language = Config->NSDefLanguage;
this->display = coredisplay;