diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 02:39:55 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 02:39:55 +0100 |
commit | 6561f8849002bd3406ae0515d4c8a96a9b7d2f53 (patch) | |
tree | 8dcb07e862263e308993a51eadc2691a10a6b146 /FICS/comproc.c | |
parent | f9834542f192adffff13c6b8899dd7c6fa5e17ab (diff) |
Reformatted com_promote()
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r-- | FICS/comproc.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c index 4af0091..c881732 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1359,14 +1359,17 @@ PUBLIC int com_style(int p, param_list param) return COM_OK_NOPROMPT; } -PUBLIC int com_promote(int p, param_list param) +PUBLIC int +com_promote(int p, param_list param) { - int retval; - ASSERT(param[0].type == TYPE_WORD); - if ((retval = pcommand(p, "set promote %s", param[0].val.word)) != COM_OK) - return retval; - else - return COM_OK_NOPROMPT; + int retval; + + ASSERT(param[0].type == TYPE_WORD); + + if ((retval = pcommand(p, "set promote %s", param[0].val.word)) != + COM_OK) + return retval; + return COM_OK_NOPROMPT; } PUBLIC int |