summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h4
-rw-r--r--include/inspircd.h6
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);