]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Remote user messaging fixes
[user/henk/code/inspircd.git] / include / inspircd.h
index 440b5f1b9687b861de66723b51e16f93c2953b20..f16a1a40dcb9dc8cc467dee791b39005b89f241f 100644 (file)
@@ -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