1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:03:14 +02:00

Fixed dropping nicks registered through MySQL

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2907 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-04-24 06:51:19 +00:00
parent 757c7ad973
commit 80c9c4903e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class CoreExport User : public Extensible
/** Login the user to a NickCore
* @param core The account the user is useing
*/
void Login(NickCore *core);
virtual void Login(NickCore *core);
/** Logout the user
*/
+1
View File
@@ -63,6 +63,7 @@ class FakeUser : public User
void SendMessage(const std::string &, const char *, ...) { }
void SendMessage(const std::string &, const std::string &) { }
void Login(NickCore *core) { nc = core; }
NickCore *Account() const { return nc; }
const bool IsIdentified() const { return nc ? true : false; }
} SQLUser;