]> jfr.im git - irc/atheme/atheme-contrib-modules.git/commitdiff
os_resolve.c: a few fixups
authorAaron Jones <redacted>
Sat, 30 Jun 2018 18:01:49 +0000 (18:01 +0000)
committerAaron Jones <redacted>
Sat, 30 Jun 2018 19:01:25 +0000 (19:01 +0000)
- Apply atheme/atheme@e1df27b9fbecc2267baa

os_resolve.c

index 106627766f8a74d4425d76017353339f179f8c5c..6606d034f4fcc97b39adb36d0ddb6305ccd34147 100644 (file)
@@ -96,14 +96,12 @@ os_cmd_resolve_func(sourceinfo_t *si, int parc, char *parv[])
 }
 
 static command_t os_cmd_resolve = {
-       "RESOLVE",
-       N_("Perform DNS lookup on hostname"),
-       PRIV_ADMIN,
-       1,
-       &os_cmd_resolve_func,
-       {
-               .path = "contrib/os_resolve",
-       },
+       .name           = "RESOLVE",
+       .desc           = N_("Perform DNS lookup on hostname"),
+       .access         = PRIV_ADMIN,
+       .maxparc        = 1,
+       .cmd            = &os_cmd_resolve_func,
+       .help           = { .path = "contrib/os_resolve", },
 };
 
 static void