diff options
author | jgeboski <jgeboski@gmail.com> | 2014-12-17 12:57:17 -0500 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-01-28 12:06:40 -0500 |
commit | 7b8238d0c9f409deaa15147bc76fc77101cb52c3 (patch) | |
tree | 10ea10fb01e94ded97600c00368ee66b1a61ab89 /irc.c | |
parent | 1fa510944f3f95f1907422dc8f7cfe9238b99cd0 (diff) |
irc-channel: implemented a special mode for show_users
This allows for users to be declared as being special, which does not
have any specific meaning. The meaning of being special is different
from protocol-to-protocol, which many protocols do not even implement.
This functionality is mainly geared towards a special user state which
only some protocols may actually need to define. For example, with the
third-party Steam plugin, this can be used for denoting a user which is
actively playing a game.
By default, this mode will not actually be used by any plugin. However,
it does default to the half-operator user mode.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -952,11 +952,11 @@ static char *set_eval_bw_compat( set_t *set, char *value ) "channel setting instead.", set->key ); if( strcmp( set->key, "away_devoice" ) == 0 && !bool2int( value ) ) - val = "online,away"; + val = "online,special%,away"; else if( strcmp( set->key, "show_offline" ) == 0 && bool2int( value ) ) - val = "online@,away+,offline"; + val = "online@,special%,away+,offline"; else - val = "online+,away"; + val = "online+,special%,away"; for( l = irc->channels; l; l = l->next ) { |