diff options
| author | 2016-03-29 16:43:30 +0200 | |
|---|---|---|
| committer | 2016-03-29 16:43:30 +0200 | |
| commit | 5fbb5a0b2c5c08f76f99bd03b51bce2164feade3 (patch) | |
| tree | cd093c6b3a2d31474874eb95e0940e25ca9a53e4 /src/users.cpp | |
| parent | m_spanningtree Add CommandNum::Builder (diff) | |
| download | inspircd++-5fbb5a0b2c5c08f76f99bd03b51bce2164feade3.tar.gz inspircd++-5fbb5a0b2c5c08f76f99bd03b51bce2164feade3.tar.bz2 inspircd++-5fbb5a0b2c5c08f76f99bd03b51bce2164feade3.zip | |
Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::RemoteUser
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index e1bda1ad3..7437e8a20 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -950,8 +950,7 @@ void User::SendText(const char *text, ...) void User::WriteRemoteNumeric(const Numeric::Numeric& numeric) { - const std::string& servername = (numeric.GetServer() ? numeric.GetServer()->GetName() : ServerInstance->Config->ServerName); - SendText(BuildNumeric(servername, this, numeric.GetNumeric(), numeric.GetParams())); + WriteNumeric(numeric); } /* return 0 or 1 depending if users u and u2 share one or more common channels |
