summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 3a80d2c82..440b5f1b9 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -762,7 +762,13 @@ class CoreExport InspIRCd : public classbase
* @param LinePrefix text to prefix each complete line with
* @param TextStream the text to send to the user
*/
- void DumpText(User* User, const std::string &LinePrefix, std::stringstream &TextStream);
+ void DumpText(User* user, const std::string &LinePrefix, std::stringstream &TextStream);
+
+ /** Dump text to a user target (local or remote)
+ * @param user the user to dump the text to
+ * @param text the full line of text
+ */
+ void DumpText(User* user, const std::string &text);
/** Check if the given nickmask matches too many users, send errors to the given user
* @param nick A nickmask to match against