diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 05:27:39 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 05:27:39 +0000 |
commit | 6dd331262aa8f989657891e27b8891ee6a00016c (patch) | |
tree | a414c7cacbdc046ee6529c63f000c26d973fe35c /include/inspircd.h | |
parent | d4ee4c5aa4312cde76fe50e34ef8ca1685d521f0 (diff) |
Create subclass of User for FakeClient, to allow for use as command source
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 0511058a4..6b13a5ed8 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -97,6 +97,7 @@ typedef std::multimap< std::string, KeyValList > ConfigDataHash; #include "inspstring.h" #include "protocol.h" #include "threadengine.h" +#include "fakeuser.h" #ifndef PATH_MAX #warning Potentially broken system, PATH_MAX undefined @@ -407,7 +408,7 @@ class CoreExport InspIRCd : public classbase * hash and set its descriptor to FD_MAGIC_NUMBER so the data * falls into the abyss :p */ - User* FakeClient; + FakeUser* FakeClient; /** Returns the next available UID for this server. */ |