summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-11 22:59:43 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-11 22:59:43 +0000
commit5a51984db1796220d1dfcaf2797940b1efc100df (patch)
tree6448a3fdae7b8d24f4721249b96723ee36a98a41 /src/ircd.c
parentb75abf9ba3c220d52033b866c15ef7e6f9c0a3b8 (diff)
Added support for tracking permanent channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2807 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 987333a24..8d7bb04b9 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -1203,6 +1203,11 @@ void pmodule_limit_mode(int mode)
ircd_modes.chan_limit = mode;
}
+void pmodule_permchan_mode(int mode)
+{
+ ircd_modes.chan_perm = mode;
+}
+
int anope_get_invis_mode()
{
return ircd_modes.user_invis;
@@ -1237,3 +1242,9 @@ int anope_get_limit_mode()
{
return ircd_modes.chan_limit;
}
+
+int anope_get_permchan_mode()
+{
+ return ircd_modes.chan_perm;
+}
+