aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc.c b/src/irc.c
index e616f15..0572700 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -15,11 +15,14 @@
#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;
char irc_away = 0;
+char bell_type = 3;
static char msgbuf[MAX_MSG] = { 0 };
static char *msg; /* with source removed */
@@ -59,6 +62,7 @@ static void hilite_bold(void) {
}
static void do_chan_nick(void) {
+ if(hilite) bell();
hilite_bold();
scr_print_active("<");
hilite_bold();
@@ -78,6 +82,7 @@ static void do_priv_nick(void) {
scr_print_active("*");
scr_print_active(msg_src);
scr_print_active("* ");
+ bell();
}
/* FIXME: this isn't very fast */