+ std::string knocknotify = ServerInstance->Config->ConfValue("knock")->getString("notify");
+ if (stdalgo::string::equalsci(knocknotify, "numeric"))
+ {
+ cmd.sendnotice = false;
+ cmd.sendnumeric = true;
+ }
+ else if (stdalgo::string::equalsci(knocknotify, "both"))
+ {
+ cmd.sendnotice = true;
+ cmd.sendnumeric = true;
+ }
+ else
+ {
+ cmd.sendnotice = true;
+ cmd.sendnumeric = false;
+ }