Method

IbisFeaturesget_prefix_for_mode

since: 0.12

Declaration [src]

char
ibis_features_get_prefix_for_mode (
  IbisFeatures* features,
  char mode
)

Description [src]

Gets the prefix for the given mode.

This is useful when a MODE command comes in and you want to display the prefix for it.

For example, on most networks the o mode is tied to the @ prefix.

Available since: 0.12

Parameters

mode

Type: char

The mode.

Return value

Type: char

The prefix if found, otherwise ‘\0’.