Some cleanups in quit message handling. Fixed a bug where a quit from a user

that isn't in a channel with the client (god knows how *that* happens, but
someone reported the bug...) could crash the client, because a NULL pointer 
is passed to logmsg().  The bug didn't show under glibc because it handles
the NULL pointer OK.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@58 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-07-07 11:55:00 +00:00
parent 8eb0a4fb3d
commit 147ea72710
8 changed files with 72 additions and 60 deletions

View File

@@ -67,8 +67,8 @@ extern LastMsg last_sent_ctcp[2];
void update_stats (int, char *, NickList *, ChannelList *, int);
int check_split (char *, char *, char *);
void update_stats (int, NickList *, ChannelList *, int);
int check_split (char *, char *);
void BX_userage (char *, char *);
void stats_k_grep_end (void);
char *stripansicodes (const unsigned char *);