summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-08 13:36:41 +0000
committerSadie Powell <sadie@witchery.services>2025-03-08 14:07:15 +0000
commit62bfa33464df8cc413fa4f111ab62e189be0ca32 (patch)
tree5dd8b0bb0caa1fc3c76e05253641f332a3c10af4 /modules/webcpanel/templates
parentb4ab7dadb94c463b46e8bef5bce8c8c531bf1995 (diff)
Rework how nickname protection works.
- Rename the command and module from kill to protect (this command hasn't actually killed users in a long time). - Replace QUICK/IMMED with a duration option.
Diffstat (limited to 'modules/webcpanel/templates')
-rw-r--r--modules/webcpanel/templates/nickserv/info.html14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/webcpanel/templates/nickserv/info.html b/modules/webcpanel/templates/nickserv/info.html
index c713cd64c..794598196 100644
--- a/modules/webcpanel/templates/nickserv/info.html
+++ b/modules/webcpanel/templates/nickserv/info.html
@@ -61,14 +61,12 @@
<td><input type="checkbox" name="private" value="on" {IF EXISTS PRIVATE}checked{END IF}></td>
</tr>
<tr>
- <td>Kill:</td>
- <td>
- <select name="kill" class="form-control input-sm">
- <option value="on" {IF EXISTS KILL_ON}selected{END IF}>On</option>
- <option value="quick" {IF EXISTS KILL_QUICK}selected{END IF}>Quick</option>
- <option value="off" {IF EXISTS KILL_OFF}selected{END IF}>Off</option>
- </select>
- </td>
+ <td>Protect:</td>
+ <td><input type="checkbox" name="protect" value="on" {IF EXISTS PROTECT}checked{END IF}></td>
+ </tr>
+ <tr>
+ <td>Protect after:</td>
+ <td><input name="protect_after" value="{PROTECT_AFTER}" class="form-control input-sm"></td>
</tr>
</tbody>
</table>