diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 17:07:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 17:07:47 +0000 |
commit | 4aa2252476256c63021afb8aa62d761535de7370 (patch) | |
tree | 9322bc7ecfcd286d105d9627ac141c2be443221d /include | |
parent | 945466193b36e4e46ea005db299c64151ed957f0 (diff) |
Moved add_channel, del_channel, kick_channel to channels.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2422 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 4 | ||||
-rw-r--r-- | include/inspircd.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/include/channels.h b/include/channels.h index ed57955a2..7962bc34b 100644 --- a/include/channels.h +++ b/include/channels.h @@ -255,5 +255,9 @@ class ucrec : public classbase virtual ~ucrec() { /* stub */ } }; +chanrec* add_channel(userrec *user, const char* cn, const char* key, bool override); +chanrec* del_channel(userrec *user, const char* cname, const char* reason, bool local); +void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason); + #endif diff --git a/include/inspircd.h b/include/inspircd.h index c0b8810ed..d8f781579 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -94,8 +94,8 @@ typedef void (handlerfunc) (char**, int, userrec*); /* prototypes */ int InspIRCd(char** argv, int argc); -chanrec* add_channel(userrec *user, const char* cn, const char* key, bool override); -chanrec* del_channel(userrec *user, const char* cname, const char* reason, bool local); +/*chanrec* add_channel(userrec *user, const char* cn, const char* key, bool override); +chanrec* del_channel(userrec *user, const char* cname, const char* reason, bool local);*/ void force_nickchange(userrec* user,const char* newnick); void kill_link(userrec *user,const char* r); void kill_link_silent(userrec *user,const char* r); @@ -103,7 +103,7 @@ void call_handler(const char* commandname,char **parameters, int pcnt, userrec * bool is_valid_cmd(const char* commandname, int pcnt, userrec * user); std::string GetRevision(); int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start, int end, int joins); -void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason); +/*void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason);*/ void AddWhoWas(userrec* u); void ConnectUser(userrec *user); userrec* ReHashNick(char* Old, char* New); |