summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:04 +0000
commitdf0489220c991cfe106c88fbfaa2a14be0682779 (patch)
tree051e2080109e6ece1c627d3629b4b3638c1713dd /include/inspircd.h
parent1b3dabf0ba0088bf7a8493fe89e478731ad0d307 (diff)
Make CHECK work remotely with optional second parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11651 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-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