diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-21 20:30:26 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-05-21 20:30:26 +0000 |
commit | 0a91d582c9a070acd99977996da841134b2085ad (patch) | |
tree | 1f0973cfd1369150a534d7c67bf6e8d29604eea1 /src/nickalias.cpp | |
parent | 9b06dc50463b7d528c35ced478b514f1459d02dc (diff) |
Fixed a crash when a users realname changes when they are on a registered nick but not identified, and made my last commit about case insensitive oper names really work
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2972 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r-- | src/nickalias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp index 56deb6076..12e656668 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -57,7 +57,7 @@ NickAlias::NickAlias(const std::string &nickname, NickCore *nickcore) { if (nc->ot) break; - if (!stricmp(it->first.c_str(), this->nick)) + if (stricmp(it->first.c_str(), this->nick)) continue; for (std::list<OperType *>::iterator tit = Config.MyOperTypes.begin(); tit != Config.MyOperTypes.end(); tit++) |