summaryrefslogtreecommitdiff
path: root/src/chanserv.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/chanserv.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/chanserv.c')
-rw-r--r--src/chanserv.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index dce22c06b..983c21719 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -2487,6 +2487,15 @@ char *cs_get_redirect(ChannelInfo * ci)
/*************************************************************************/
+/* This is a dummy function part of making anope accept modes
+ * it does actively parse.. ~ Viper */
+char *cs_get_unkwn(ChannelInfo * ci)
+{
+ return NULL;
+}
+
+/*************************************************************************/
+
void cs_set_flood(ChannelInfo * ci, char *value)
{
if (!ci) {
@@ -2577,6 +2586,17 @@ void cs_set_redirect(ChannelInfo * ci, char *value)
}
}
+/*************************************************************************/
+
+/* This is a dummy function to make anope parse a param for a mode,
+ * yet we don't use that param internally.. ~ Viper */
+void cs_set_unkwn(ChannelInfo * ci, char *value)
+{
+ /* Do nothing.. */
+}
+
+/*************************************************************************/
+
int get_access_level(ChannelInfo * ci, NickAlias * na)
{
ChanAccess *access;