diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-04 01:48:57 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-04 01:48:57 +0100 |
commit | 25d1be7fbfe217b756861b4306ff7a5ae77becb1 (patch) | |
tree | fa7282c36fcad0601596fd42c4001131cf1af744 /irc.c | |
parent | 8f515c822d4bea8439c5ca076d965ae52010ec2d (diff) |
do_error_dialog shouldn't do NULL dereferences anymore, and TYPING notifications are always direct PRIVMSGs.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1509,7 +1509,7 @@ int irc_privmsg( irc_t *irc, user_t *u, char *type, char *to, char *prefix, char else { irc_write( irc, ":%s!%s@%s %s %s :%s%s", u->nick, u->user, u->host, - type, to, prefix, line ); + type, to, prefix ? prefix : "", line ); } line = s + 1; } |