about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-18 18:20:05 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-03-18 18:20:05 +0100
commit3c56b289ed04f8525affd532d0192d653e1dcd95 (patch)
treeafb0b55eea620a1d8f4968a67756f88a00c3b25d /tests
parented97e3730a846dd17d6350cbe6cce25e419f83e4 (diff)
downloadprofani-tty-3c56b289ed04f8525affd532d0192d653e1dcd95.tar.gz
Add slashguard feature
New command `/slashguard` tries to protect against typing ` /quit` by
not allowing a slash in the first 4 characters.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/ui/stub_ui.c1
1 files changed, 1 insertions, 0 deletions
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)
 {