1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 20:06:39 +02:00

Mark some stuff deprecated, move implementation from the interface into the user class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1206 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:10 +00:00
parent ca8996472c
commit e6111d9ff4
5 changed files with 58 additions and 27 deletions
+10
View File
@@ -90,5 +90,15 @@ class User
/** Updates the realname of the user record.
*/
void SetRealname(const std::string &realname);
/**
* Send a message (notice or privmsg, depending on settings) to a user
* @param source Sender nick
* @param fmt Format of the Message
* @param ... any number of parameters
* @return void
*/
void SendMessage(const char *source, const char *fmt, ...);
void SendMessage(const char *source, const std::string &msg);
};