<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fcs_suspend</id>
		<title>2.0/Modules/cs suspend - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fcs_suspend"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/cs_suspend&amp;action=history"/>
		<updated>2026-05-09T17:37:02Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/cs_suspend&amp;diff=650&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/cs_suspend}} {{Syntax|cs_suspend|ChanServ|Anope}}  == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == Disallows anyone from using the given channel when ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/cs_suspend&amp;diff=650&amp;oldid=prev"/>
				<updated>2014-05-06T19:55:02Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/cs_suspend}} {{Syntax|cs_suspend|ChanServ|Anope}}  == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == Disallows anyone from using the given channel when ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/cs_suspend}}&lt;br /&gt;
{{Syntax|cs_suspend|ChanServ|Anope}}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
Disallows anyone from using the given channel when suspended.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Commands&amp;lt;/div&amp;gt; == &lt;br /&gt;
;suspend channel [+expiry] [reason]&lt;br /&gt;
:Disallows anyone from using the given channel. May be cancelled by using the '''UNSUSPEND''' command to preserve all previous channel data/settings. If an expiry is given the channel will be unsuspended after that period of time, else the default expiry from the configuration is used.&lt;br /&gt;
:Reason may be required on certain networks.&lt;br /&gt;
:''Access to this command requires the permission chanserv/suspend to be present in your opertype.''&lt;br /&gt;
;unsuspend channel&lt;br /&gt;
:Releases a suspended channel. All data and settings are preserved from before the suspension. &lt;br /&gt;
:''Access to this command requires the permission chanserv/suspend to be present in your opertype.''&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Examples&amp;lt;/div&amp;gt; ==&lt;br /&gt;
/msg ChanServ SUSPEND #myChannel +30d Locked out for abuse.&lt;br /&gt;
&lt;br /&gt;
/msg ChanServ UNSUSPEND #myChannel&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * cs_suspend&lt;br /&gt;
 *&lt;br /&gt;
 * Provides the commands chanserv/suspend and chanserv/unsuspend.&lt;br /&gt;
 *&lt;br /&gt;
 * Used for suspending and unsuspending channels. Suspended channels can not be used but their settings are stored.&lt;br /&gt;
 */&lt;br /&gt;
module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;cs_suspend&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The length of time before a suspended channel expires.&lt;br /&gt;
         *&lt;br /&gt;
         * This directive is optional.&lt;br /&gt;
         * If not set, the default is never.&lt;br /&gt;
         */&lt;br /&gt;
        expire = 90d&lt;br /&gt;
}&lt;br /&gt;
command { service = &amp;quot;ChanServ&amp;quot;; name = &amp;quot;SUSPEND&amp;quot;; command = &amp;quot;chanserv/suspend&amp;quot;; permission = &amp;quot;chanserv/suspend&amp;quot;; group = &amp;quot;chanserv/admin&amp;quot;; }&lt;br /&gt;
command { service = &amp;quot;ChanServ&amp;quot;; name = &amp;quot;UNSUSPEND&amp;quot;; command = &amp;quot;chanserv/unsuspend&amp;quot;; permission = &amp;quot;chanserv/suspend&amp;quot;; group = &amp;quot;chanserv/admin&amp;quot;; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>