diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:53:03 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:53:03 +0000 |
commit | 0377d937c5d1bf20fa0c29d4a41c7fd89502ab38 (patch) | |
tree | 4947668cb5670ced506dc3fb34e88e3f99b84734 /include/inspircd.h | |
parent | 8ca460a0e660f7ac6bae4dfdc88680876fd899f5 (diff) |
Remote user messaging fixes
Add format string output to DumpText
Fix PI->PushToClient prefixing issue
Fix ENCAP routing to use SID rather than server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11658 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 440b5f1b9..f16a1a40d 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -770,6 +770,12 @@ class CoreExport InspIRCd : public classbase */ void DumpText(User* user, const std::string &text); + /** Dump text to a user target (local or remote) + * @param user the user to dump the text to + * @param format the printf format string for the text to send + */ + void DumpText(User* user, const char* format, ...) CUSTOM_PRINTF(3, 4); + /** Check if the given nickmask matches too many users, send errors to the given user * @param nick A nickmask to match against * @param user A user to send error text to |