aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-01 12:54:48 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-01 12:54:48 +0200
commit43cbb3c3f4d5f537dc38ab5349f30a7789ee8941 (patch)
tree9bfd4482a9ab8df6e65b55f79244b9afeb1b7d70 /FICS
parentc518f3e13983236357a8af813882cede1d8ff165 (diff)
Reformatted boot_out()
Diffstat (limited to 'FICS')
-rw-r--r--FICS/command.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/FICS/command.c b/FICS/command.c
index 29e8104..39d7aef 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -522,14 +522,19 @@ PRIVATE int process_login(int p, char *loginname)
return 0;
}
-void boot_out(int p, int p1)
+void
+boot_out(int p, int p1)
{
- int fd;
- pprintf(p, "\n **** %s is already logged in - kicking them out. ****\n", parray[p].name);
- pprintf(p1, "**** %s has arrived - you can't both be logged in. ****\n", parray[p].name);
- fd = parray[p1].socket;
- process_disconnection(fd);
- net_close_connection(fd);
+ int fd;
+
+ pprintf(p, "\n **** %s is already logged in - kicking them out. ****\n",
+ parray[p].name);
+ pprintf(p1, "**** %s has arrived - you can't both be logged in. ****\n",
+ parray[p].name);
+
+ fd = parray[p1].socket;
+ process_disconnection(fd);
+ net_close_connection(fd);
}
PUBLIC void