diff --git a/src/lua/nochatreports/crypt.rs b/src/lua/nochatreports/crypt.rs index ad4b991..2952d30 100644 --- a/src/lua/nochatreports/crypt.rs +++ b/src/lua/nochatreports/crypt.rs @@ -4,7 +4,7 @@ macro_rules! crypt { macro_rules! crypt_with { ($algo:ident) => {{ let encoding = $options.get("encoding").unwrap_or_default(); - let key = &$options.get::>("$key")?.inner; + let key = &$options.get::>("key")?.inner; match encoding { 1 => $algo::::$op($text, &key), 2 => $algo::::$op($text, &key),