Skip to content
Permalink
Browse files

Prevent double-tapping internal binds

  • Loading branch information
vanosg committed Jan 9, 2020
1 parent 12289dc commit b504c15f9bed6ef583ee065bb3b58fa0cd82a6f3
Showing with 2 additions and 8 deletions.
  1. +0 −1 src/mod/server.mod/server.c
  2. +2 −7 src/mod/server.mod/servmsg.c
@@ -2284,7 +2284,6 @@ char *server_start(Function *global_funcs)
H_ctcp = add_bind_table("ctcp", HT_STACKABLE, server_6char);
H_out = add_bind_table("out", HT_STACKABLE, server_out);
add_builtins(H_raw, my_raw_binds);
add_builtins(H_rawt, my_raw_binds);
add_builtins(H_dcc, C_dcc_serv);
add_builtins(H_ctcp, my_ctcps);
add_help_reference("server.help");
@@ -1163,13 +1163,8 @@ static void server_activity(int idx, char *tagmsg, int len)
}
/* Check both raw and rawt, to allow backwards compatibility with older
* scripts */
if (msgtag && tagstrptr) {
check_tcl_rawt(from, code, msgptr, tagdict);
} else {
check_tcl_raw(from, code, msgptr);
}
// check_tcl_rawt(from, code, msgptr, tagdict);
// check_tcl_raw(from, code, msgptr);
check_tcl_rawt(from, code, msgptr, tagdict);
check_tcl_raw(from, code, msgptr);
}

static int gotping(char *from, char *msg)

0 comments on commit b504c15

Please sign in to comment.
You can’t perform that action at this time.