summaryrefslogtreecommitdiff
path: root/src/account.cpp
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:22:20 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:22:20 +0000
commit83243793468c7af887404ca30c34146436682610 (patch)
tree11f6fb7ffd31bd3b2b6aab1a817d907db017f452 /src/account.cpp
parent855847f428412e85087384df73096d9056526937 (diff)
Can now correctly tie users to opertypes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2063 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/account.cpp')
-rw-r--r--src/account.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/account.cpp b/src/account.cpp
deleted file mode 100644
index b33646bbe..000000000
--- a/src/account.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-#include "services.h"
-
-NickCore::NickCore()
-{
- next = prev = NULL;
- display = email = greet = url = NULL;
- ot = NULL;
- pass[0] = '\0';
- icq = flags = 0;
- language = accesscount = channelcount = 0;
- lastmail = 0;
-}
-
-bool NickCore::HasCommand(const std::string &cmdstr)
-{
- if (!this->ot)
- {
- // No opertype.
- return false;
- }
-
- return this->ot->HasCommand(cmdstr);
-}
-
-bool NickCore::HasPriv(const std::string &privstr)
-{
- if (!this->ot)
- {
- // No opertype.
- return false;
- }
-
- return this->ot->HasPriv(privstr);
-}