diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 20:08:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 20:08:02 +0000 |
commit | a318eee150eb0e1a862d362a5e9011431f0595d6 (patch) | |
tree | af914e3ccdba10a37fd6ef46d645d55ee138ef57 /src/modules.cpp | |
parent | d54f233a5ea7d6fae389f0b2ef8bfc8b80f472e4 (diff) |
WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::WriteCommonExcept()
WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 65a9f3d9f..ea45c5d9e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -465,18 +465,6 @@ void Server::DumpText(userrec* User, const std::string &LinePrefix, stringstream User->WriteServ(CompleteLine); } -void Server::SendCommon(userrec* User, const std::string &text, bool IncludeSender) -{ - if (IncludeSender) - { - WriteCommon_NoFormat(User,text.c_str()); - } - else - { - WriteCommonExcept_NoFormat(User,text.c_str()); - } -} - void Server::SendWallops(userrec* User, const std::string &text) { WriteWallOps(User,false,"%s",text.c_str()); |