Changes this client's mode. To change another nick's mode use ChangeChannelMode.
Away cannot be set here but should be set using Away or removed using UnAway.
Exception Type | Condition |
---|---|
ArgumentException | If the UserMode parameter is Away. |
//Turn off invisibility connection.Sender.ChangeUserMode( ModeAction.Remove, UserMode.Invisible ); //Turn on wallops (and get a lot of IRC garbage) connection.Sender.ChangeUserMode( ModeAction.Add, UserMode.Wallops );
Sender Class | Sharkbite.Irc Namespace | OnUserModeChange