diff options
Diffstat (limited to 'irc_send.c')
-rw-r--r-- | irc_send.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -109,6 +109,9 @@ void irc_send_motd( irc_t *irc ) close( fd ); } +/* Used by some funcs that generate PRIVMSGs to figure out if we're talking to + this person in /query or in a control channel. WARNING: callers rely on + this returning a pointer at irc->user_nick, not a copy of it. */ const char *irc_user_msgdest( irc_user_t *iu ) { irc_t *irc = iu->irc; |