summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-04-02 12:44:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-04-02 12:44:12 +0200
commita6e68c0d346395630dee9dc69211a284360b6c62 (patch)
tree1d6c28eb611182fa38ac6061c886695bd1d5f6cd /include/users.h
parent02e935ec7502b70fe85c9676bf8ddf0c15d9337e (diff)
Remove User::WriteTo() functions; use User::WriteFrom() instead
The removed functions were rarely used and all they did was to call User::WriteFrom() with swapped arguments. On call sites, WriteTo() hardly offers any readability improvement over WriteFrom().
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/users.h b/include/users.h
index 5ab791eee..c90d2f265 100644
--- a/include/users.h
+++ b/include/users.h
@@ -529,19 +529,6 @@ class CoreExport User : public Extensible
*/
void WriteFrom(User *user, const char* text, ...) CUSTOM_PRINTF(3, 4);
- /** Write text to the user provided in the first parameter, appending CR/LF, and prepending THIS user's :nick!user\@host.
- * @param dest The user to route the message to
- * @param data A std::string to send to the user
- */
- void WriteTo(User *dest, const std::string &data);
-
- /** Write text to the user provided in the first parameter, appending CR/LF, and prepending THIS user's :nick!user\@host.
- * @param dest The user to route the message to
- * @param data The format string for text to send to the user
- * @param ... POD-type format arguments
- */
- void WriteTo(User *dest, const char *data, ...) CUSTOM_PRINTF(3, 4);
-
/** Write to all users that can see this user (including this user in the list if include_self is true), appending CR/LF
* @param line A std::string to send to the users
* @param include_self Should the message be sent back to the author?