diff options
| author | 2014-04-02 12:52:20 +0200 | |
|---|---|---|
| committer | 2014-04-02 12:52:20 +0200 | |
| commit | 10bae314831aefc49946e80a47cab46779cefd76 (patch) | |
| tree | a002ad0416162b7042d922aeb27906b975c2b72d /src/users.cpp | |
| parent | Move User::SendAll() into core_privmsg (diff) | |
| download | inspircd++-10bae314831aefc49946e80a47cab46779cefd76.tar.gz inspircd++-10bae314831aefc49946e80a47cab46779cefd76.tar.bz2 inspircd++-10bae314831aefc49946e80a47cab46779cefd76.zip | |
Remove unused User::WriteCommonExcept()
WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/users.cpp b/src/users.cpp index 28a8bd4ea..a15c31727 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -919,17 +919,6 @@ void User::WriteCommon(const char* text, ...) this->WriteCommonRaw(textbuffer, true); } -void User::WriteCommonExcept(const char* text, ...) -{ - if (this->registered != REG_ALL || quitting) - return; - - std::string textbuffer; - VAFORMAT(textbuffer, text, text); - textbuffer = ":" + this->GetFullHost() + " " + textbuffer; - this->WriteCommonRaw(textbuffer, false); -} - void User::WriteCommonRaw(const std::string &line, bool include_self) { if (this->registered != REG_ALL || quitting) |
