summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
commite6111d9ff4cb897b5c8bd00fcde339ffce1b66bf (patch)
tree1d4fc7192245c06032400dcbb673772fc1f68f56 /include/users.h
parentca8996472c5e855087bacf947186d919b653ab7d (diff)
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
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index fcf01e004..a1136e321 100644
--- a/include/users.h
+++ b/include/users.h
@@ -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);
};