diff options
Diffstat (limited to 'ftnoir_tracker_udp/ftnoir_tracker_udp.h')
-rw-r--r-- | ftnoir_tracker_udp/ftnoir_tracker_udp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.h b/ftnoir_tracker_udp/ftnoir_tracker_udp.h index 96f07177..51b5d9ab 100644 --- a/ftnoir_tracker_udp/ftnoir_tracker_udp.h +++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.h @@ -7,11 +7,10 @@ #include "opentrack/options.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { value<int> port; settings() : - b(bundle("udp-tracker")), + opts("udp-tracker"), port(b, "port", 4242) {} }; |