From df0489220c991cfe106c88fbfaa2a14be0682779 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:52:04 +0000 Subject: Make CHECK work remotely with optional second parameter git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11651 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3