diff options
Diffstat (limited to 'FICS/command.c')
-rw-r--r-- | FICS/command.c | 19 |
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 |