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. --- tests/unittests/ui/stub_ui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 4c232739..9b3916c6 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -453,6 +453,7 @@ void cons_tray_setting(void) {} void cons_os_setting(void) {} void cons_correction_setting(void) {} void cons_avatar_setting(void) {} +void cons_slashguard_setting(void) {} void cons_show_contact_online(PContact contact, Resource *resource, GDateTime *last_activity) { -- cgit 1.4.1-2-gfad0