diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-06 01:33:33 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-06 01:33:33 +0100 | 
| commit | 18da20bf7690ca3c1e9cf4b70c2749a11c75b339 (patch) | |
| tree | ba6998f3923c2ce1d8ab041da4c3f5f7a0fa4ed0 /irc_send.c | |
| parent | c1a8a163703a903c7a69e06286013f12d6bf865e (diff) | |
Added /part msgs, and the ability to silently remove users from channels
(when sending a /quit instead, for example).
Diffstat (limited to 'irc_send.c')
| -rw-r--r-- | irc_send.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -149,7 +149,7 @@ void irc_send_join( irc_channel_t *ic, irc_user_t *iu )  void irc_send_part( irc_channel_t *ic, irc_user_t *iu, const char *reason )  { -	irc_write( ic->irc, ":%s!%s@%s PART %s :%s", iu->nick, iu->user, iu->host, ic->name, reason ); +	irc_write( ic->irc, ":%s!%s@%s PART %s :%s", iu->nick, iu->user, iu->host, ic->name, reason ? : "" );  }  void irc_send_names( irc_channel_t *ic ) | 
