From 3c56b289ed04f8525affd532d0192d653e1dcd95 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 18 Mar 2020 18:20:05 +0100 Subject: Add slashguard feature New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters. --- src/config/preferences.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config/preferences.h') diff --git a/src/config/preferences.h b/src/config/preferences.h index 37040214..8703043c 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -167,6 +167,7 @@ typedef enum { PREF_CORRECTION_ALLOW, PREF_HISTORY_COLOR_MUC, PREF_AVATAR_CMD, + PREF_SLASH_GUARD, } preference_t; typedef struct prof_alias_t { -- cgit 1.4.1-2-gfad0