From 6ab1d0dffb8084bf6a2ad8a446a3836fa3760c8a Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 14:17:35 +0000 Subject: 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 --- include/channels.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/channels.h') 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 */ } -- cgit v1.2.3