diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 14:17:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 14:17:35 +0000 |
commit | 6ab1d0dffb8084bf6a2ad8a446a3836fa3760c8a (patch) | |
tree | b29d44792a86a243693034a83326c17b847ecfdc /include/channels.h | |
parent | 903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4 (diff) |
WriteChannel* functions and ChanExceptSender* functions are now methods of chanrec. They probably should be renamed too eventually.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h index effb65873..82a955069 100644 --- a/include/channels.h +++ b/include/channels.h @@ -327,6 +327,13 @@ class chanrec : public Extensible */ static chanrec* JoinUser(userrec *user, const char* cn, bool override, const char* key = ""); + void WriteChannel(userrec* user, char* text, ...); + void WriteChannel(userrec* user, const std::string &text); + void WriteChannelWithServ(const char* ServName, const char* text, ...); + void WriteChannelWithServ(const char* ServName, const std::string &text); + void WriteAllExceptSender(userrec* user, char status, char* text, ...); + void WriteAllExceptSender(userrec* user, char status, const std::string& text); + /** Destructor for chanrec */ virtual ~chanrec() { /* stub */ } |