aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/irc.c b/src/irc.c
index 1d2907d..95ab584 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -16,8 +16,6 @@
#define MAX_MSG 512
-extern void __fastcall__ bell(void); /* see src/bell.s */
-
char *msg_src, *msg_cmd, *msg_dest, *msg_text;
char *msg_args[MAX_MSG_ARGS];
int msg_argcount;
@@ -622,7 +620,6 @@ void print_errnum(void) {
scr_print_current("Error #");
itoa(err, numbuf, 10);
scr_print_current(numbuf);
- scr_print_current(", press any key...\n");
}
int irc_read(void) {
@@ -633,13 +630,13 @@ int irc_read(void) {
if(err != 1) {
regged = 0;
if(err == 136) {
- scr_print_current("Disconnected, press any key...\n");
+ scr_print_current("Disconnected");
} else {
print_errnum();
}
+ scr_print_current(", press any key...\n");
bell();
cgetc();
- scr_display(0);
return 0;
}