aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-04 22:55:15 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-04 22:55:15 +0100
commit019c031a8d77fa8f21792ccf0e07c2dfa058ce5f (patch)
tree116b7dc98dc8b4d4805a02f7e5d4ce64c95b9eac /irc.c
parent500a1b60d3dd0565d215721e0db7ec7da2dec2e0 (diff)
parentd636233a518fbe46264230866d4b8ea463f1474e (diff)
Merge from Wilmer
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index f5448495..28c73241 100644
--- a/irc.c
+++ b/irc.c
@@ -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;
}