1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

trigger: fix description of function trigger_name_valid

This commit is contained in:
Sébastien Helleu
2021-04-08 20:56:37 +02:00
parent b6b78df3d2
commit 7c5cbefd51
+3 -2
View File
@@ -826,8 +826,9 @@ trigger_split_command (const char *command,
}
/*
* Checks if a trigger name is valid: it must not start with "-" and not have
* any spaces.
* Checks if a trigger name is valid:
* - it must not start with "-"
* - it must not have any space/period.
*
* Returns:
* 1: name is valid