about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bounce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bounce.c b/bounce.c
index c174249..bc97cf3 100644
--- a/bounce.c
+++ b/bounce.c
@@ -322,6 +322,9 @@ int main(int argc, char *argv[]) {
 	if (!user) user = nick;
 	if (!real) real = nick;
 	if (!clientAway) clientAway = "pounced :3";
+	if (clientPass && clientPass[0] != '$') {
+		errx(EX_CONFIG, "password must be hashed with -x");
+	}
 
 	ringAlloc(ringSize);
 	if (savePath) saveLoad(savePath);
> This ordering of rules feels much cleaner. 2020-12-29Clean up hilex code somewhatJune McEnroe 2020-12-29Match lex/yacc %% %{ %} lines as MacroJune McEnroe 2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe 2020-12-29Match C type declarations as IdentifierTagJune McEnroe 2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe 2020-12-29Reconfigure C macro start conditionsJune McEnroe 2020-12-29Document HTML class namesJune McEnroe 2020-12-29Rename Tag class to IdentifierTagJune McEnroe 2020-12-29Change HTML class from hi to hilexJune McEnroe You can tell I was just copying the HTML code huh. 2020-12-29Add hilex HTML outputJune McEnroe