Change sed_encrypt_msg() so it doesn't modify the passed message in-place
This means the calling code in commands.c no longer needs to take a copy before calling the function. Also remove code testing result of of ctcp_quote_it() and ctcp_unquote_it() - these functions never fail.
This commit is contained in:
@@ -71,7 +71,7 @@ extern char * do_notice_ctcp (char *, char *, char *);
|
||||
extern int in_ctcp (void);
|
||||
extern void send_ctcp (int, char *, int, char *, ...);
|
||||
extern int get_ctcp_val (char *);
|
||||
extern char *sed_encrypt_msg(char *, const char *);
|
||||
extern char *sed_encrypt_msg(const char *, const char *);
|
||||
extern char *sed_decrypt_msg(const char *, const char *);
|
||||
|
||||
void BX_split_CTCP (char *, char *, char *);
|
||||
|
||||
Reference in New Issue
Block a user