Modules/2.0/shun

From the makers of InspIRCd.
Jump to: navigation, search

shun module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
This module adds the /SHUN command, anyone matching a shunned host cannot execute any commands other than PING and PONG
Configuration Tags
<shun enabledcommands="PING PONG QUIT" notifyuser="no/yes">

The enabledcommands lets you configure which commands you wish a user to be able to perform when shunned. It should be noted that if a shunned user issues QUIT or PART, then their message will be removed, as if they did not issue one.

The notifyuser defines if the user should be made aware that their command was blocked (else, the user will not get any error message or notice).

Modes
This module does not implement any extra user or channel modes.
Extended Bans (Extbans)
This module implements no extended bans.
Commands
/SHUN <hostmask> <duration> <reason>

Add a shun on 'hostmask', duration is a string like "5m2d" for five minutes and two days. The reason is shown in the list of shuns and in the snotices sent to opers.

-tiddles.chatspike.net-*** Om added 300 second shun on 'Omster!*@*' (Rawr)
/SHUN <hostmask>

Remove shun 'hostmask'

-tiddles.chatspike.net-*** Om removed shun 'Omster!*@*', set 219 seconds ago with reason 'Rawr'
/STATS H

List all shuns:

<< stats H
>> :tiddles.chatspike.net 223 Om :*!*@lamers.com 1139134777 432000 Om Rawr
>> :tiddles.chatspike.net 219 Om s :End of /STATS report
Special Notes
None