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 /src/inspircd.cpp | |
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 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f3662cb31..b8eced5f4 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -609,8 +609,7 @@ InspIRCd::InspIRCd(int argc, char** argv) } /* set up fake client again this time with the correct uid */ - this->FakeClient = new User(this, "#INVALID"); - this->FakeClient->SetFd(FD_MAGIC_NUMBER); + this->FakeClient = new FakeUser(this); // Get XLine to do it's thing. this->XLines->CheckELines(); |