Backport changes from epic5 to make recv_nick, sent_nick and sent_body

per-server, and apply new version of do_oops from flewid (the BX2 version). 

This means that /oops, "/query .", "/query ,", "/msg ." and "/msg ," are now
per-server, along with the $. $, and $B aliases.



git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@87 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2010-06-26 08:18:34 +00:00
parent 56d5c9e643
commit 789ed916cd
10 changed files with 100 additions and 37 deletions

View File

@@ -77,7 +77,6 @@ Packages *install_pack = NULL;
extern int BX_read_sockets();
extern int identd;
extern int doing_notice;
extern char *sent_nick, *last_sent_msg_body;
extern int (*dcc_open_func) (int, int, unsigned long, int);
extern int (*dcc_output_func) (int, int, char *, int);
@@ -661,8 +660,8 @@ static int already_done = 0;
global_table[OUTPUT_SCREEN] = (Function_ptr) &output_screen;
global_table[SCREEN_LIST] = (Function_ptr) &screen_list;
global_table[DOING_NOTICE] = (Function_ptr) &doing_notice;
global_table[SENT_NICK] = (Function_ptr) &sent_nick;
global_table[LAST_SENT_MSG_BODY] = (Function_ptr) &last_sent_msg_body;
global_table[SENT_NICK] = 0; /* No longer used */
global_table[LAST_SENT_MSG_BODY] = 0; /* No longer used */
global_table[IRCLOG_FP] = (Function_ptr) &irclog_fp;
#ifdef WANT_DLL