]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/fakeuser.h
Replace loopCall detection in OnUserKick with a check for the m_spanningtree fake...
[user/henk/code/inspircd.git] / include / fakeuser.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
6  * See: http://wiki.inspircd.org/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #ifndef __FAKEUSER_H__
15 #define __FAKEUSER_H__
16
17 #include "users.h"
18
19 class CoreExport FakeUser : public User
20 {
21  public:
22         FakeUser(InspIRCd* Instance) : User(Instance, "!")
23         {
24                 SetFd(FD_FAKEUSER_NUMBER);
25         }
26
27         virtual const std::string GetFullHost() { return server; }
28         virtual const std::string GetFullRealHost() { return server; }
29 };
30
31 #endif