summaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authorjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 02:03:57 +0000
committerjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 02:03:57 +0000
commit250aecb68365d059cd1ddebf63992d66ba2185db (patch)
tree5c24153aaa8737a93a23acaf8ba2d21440818b50 /src/channels.c
parent4ca2b60f91fc51eb37fb099b1bc3ce7ac275e6d7 (diff)
More dynamic detection of channel modes on InspIRCd 1.2.
Also fixes params being linked to the wrong mode. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2598 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/channels.c b/src/channels.c
index 0d957c32e..fbeddb633 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1849,6 +1849,15 @@ char *get_redirect(Channel * chan)
/*************************************************************************/
+/* This is a dummy function part of making anope accept modes
+ * it does actively parse.. ~ Viper */
+char *get_unkwn(Channel * chan)
+{
+ return NULL;
+}
+
+/*************************************************************************/
+
Channel *join_user_update(User * user, Channel * chan, char *name,
time_t chants)
{
@@ -1972,6 +1981,17 @@ void set_redirect(Channel * chan, char *value)
chan->redirect ? chan->redirect : "no redirect");
}
+/*************************************************************************/
+
+/* This is a dummy function to make anope parse a param for a mode,
+ * yet we don't use that param internally.. ~ Viper */
+void set_unkwn(Channel *chan, char *value)
+{
+ /* Do nothing.. */
+}
+
+/*************************************************************************/
+
void do_mass_mode(char *modes)
{
int ac;