diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 17:04:17 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-13 17:04:17 +0000 |
commit | 97c0e6b4c4e304a1c4e764fc06a7e2663a41743d (patch) | |
tree | e8ed104d85a573545a94c3ddc9eda144c05c7bbc /src/users.cpp | |
parent | a889336d194abc7df7a98102e3d0e56f0e125edc (diff) |
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
This makes it possible to determine which server initiated a mode change,
instead of having only a flag saying that some server did.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 9574dd415..9c295caad 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -2045,6 +2045,12 @@ void User::DecreasePenalty(int decrease) this->Penalty -= decrease; } +void FakeUser::SetFakeServer(std::string name) +{ + this->nick = name; + this->server = nick.c_str(); +} + VisData::VisData() { } |