diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-05-04 13:24:48 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-05-04 13:24:48 +0200 |
commit | 4711113dff7fc33c96f95f417f2813f28c690e01 (patch) | |
tree | 7ccecb9e52f6c13c233a3efe312410a1c8e526a0 /src/helperfuncs.cpp | |
parent | 8aa03e455e14ea85cdee65527565975ddf558b88 (diff) | |
parent | 68bb6a67459298ca08eb18b60794619ddf782c77 (diff) |
Merge branch 'master+whoiscontext'
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 7b2a29f77..5cde46246 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -313,24 +313,6 @@ void InspIRCd::CheckRoot() #endif } -void InspIRCd::SendWhoisLine(User* user, User* dest, int numeric, const std::string &text) -{ - std::string copy_text = text; - - ModResult MOD_RESULT; - FIRST_MOD_RESULT(OnWhoisLine, MOD_RESULT, (user, dest, numeric, copy_text)); - - if (MOD_RESULT != MOD_RES_DENY) - user->WriteNumeric(numeric, copy_text); -} - -void InspIRCd::SendWhoisLine(User* user, User* dest, int numeric, const char* format, ...) -{ - std::string textbuffer; - VAFORMAT(textbuffer, format, format) - this->SendWhoisLine(user, dest, numeric, textbuffer); -} - /** Refactored by Brain, Jun 2009. Much faster with some clever O(1) array * lookups and pointer maths. */ |