diff options
author | unknown <pesco@khjk.org> | 2011-10-03 16:56:58 +0200 |
---|---|---|
committer | unknown <pesco@khjk.org> | 2011-10-03 16:56:58 +0200 |
commit | e67e513a16f3e545fd71eb176aac83d41a1dc271 (patch) | |
tree | 683d2e0eee6cba46226442762ac55f793259fb6c /irc.c | |
parent | 3231485f983ea5bffe425205abfb059ee62b0168 (diff) |
rename irc_usermsg to irc_rootmsg.
add new irc_usermsg, irc_usernotice.
deliver user-specific messages from libotr as notices to that user.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -362,7 +362,7 @@ void irc_process( irc_t *irc ) so let's be a little bit paranoid here: */ if( irc->status & USTATUS_LOGGED_IN ) { - irc_usermsg( irc, "Error: Charset mismatch detected. The charset " + irc_rootmsg( irc, "Error: Charset mismatch detected. The charset " "setting is currently set to %s, so please make " "sure your IRC client will send and accept text in " "that charset, or tell BitlBee which charset to " @@ -766,7 +766,7 @@ int irc_check_login( irc_t *irc ) irc->root->last_channel = irc->default_channel; - irc_usermsg( irc, + irc_rootmsg( irc, "Welcome to the BitlBee gateway!\n\n" "If you've never used BitlBee before, please do read the help " "information using the \x02help\x02 command. Lots of FAQs are " @@ -909,7 +909,7 @@ static char *set_eval_charset( set_t *set, char *value ) { g_free( test ); g_iconv_close( oc ); - irc_usermsg( irc, "Unsupported character set: The IRC protocol " + irc_rootmsg( irc, "Unsupported character set: The IRC protocol " "only supports 8-bit character sets." ); return NULL; } @@ -940,7 +940,7 @@ static char *set_eval_bw_compat( set_t *set, char *value ) char *val; GSList *l; - irc_usermsg( irc, "Setting `%s' is obsolete, use the `show_users' " + irc_rootmsg( irc, "Setting `%s' is obsolete, use the `show_users' " "channel setting instead.", set->key ); if( strcmp( set->key, "away_devoice" ) == 0 && !bool2int( value ) ) |