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
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).

This module does not implement any extra user or channel modes.
Extended Bans (Extbans)
This module implements no extended bans.
/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.*** Om added 300 second shun on 'Omster!*@*' (Rawr)
/SHUN <hostmask>

Remove shun 'hostmask'*** Om removed shun 'Omster!*@*', set 219 seconds ago with reason 'Rawr'

List all shuns:

<< stats H
>> 223 Om :*!* 1139134777 432000 Om Rawr
>> 219 Om s :End of /STATS report
Special Notes