Changeset 7b8238d for irc_im.c


Ignore:
Timestamp:
2015-01-28T17:06:40Z (9 years ago)
Author:
jgeboski <jgeboski@…>
Branches:
master
Children:
7821ee8
Parents:
1fa5109
git-author:
jgeboski <jgeboski@…> (17-12-14 17:57:17)
git-committer:
jgeboski <jgeboski@…> (28-01-15 17:06:40)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r1fa5109 r7b8238d  
    190190                else if( iu->bu->flags & BEE_USER_AWAY )
    191191                        mode = icc->modes[1];
     192                else if( iu->bu->flags & BEE_USER_SPECIAL )
     193                        mode = icc->modes[2];
    192194                else
    193                         mode = icc->modes[2];
     195                        mode = icc->modes[3];
    194196               
    195197                if( !mode )
Note: See TracChangeset for help on using the changeset viewer.