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:
+1
-1
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user