Voice, devoice self on /voice, /devoice with no params
parent
151739e8da
commit
db4af9e7ab
18
catgirl.1
18
catgirl.1
|
@ -1,4 +1,4 @@
|
||||||
.Dd March 31, 2020
|
.Dd April 6, 2020
|
||||||
.Dt CATGIRL 1
|
.Dt CATGIRL 1
|
||||||
.Os
|
.Os
|
||||||
.
|
.
|
||||||
|
@ -354,10 +354,10 @@ Switch to window by number.
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Ic /ban Op Ar mask ...
|
.It Ic /ban Op Ar mask ...
|
||||||
List or ban masks from the channel.
|
List or ban masks from the channel.
|
||||||
.It Ic /deop Ar nick ...
|
.It Ic /deop Op Ar nick ...
|
||||||
Revoke channel operator status from users.
|
Revoke channel operator status from users or yourself.
|
||||||
.It Ic /devoice Ar nick ...
|
.It Ic /devoice Op Ar nick ...
|
||||||
Revoke voice from users in the channel.
|
Revoke voice from users or yourself in the channel.
|
||||||
.It Ic /except Op Ar mask ...
|
.It Ic /except Op Ar mask ...
|
||||||
List or add masks to the channel ban exception list.
|
List or add masks to the channel ban exception list.
|
||||||
.It Ic /invex Op Ar mask ...
|
.It Ic /invex Op Ar mask ...
|
||||||
|
@ -370,16 +370,16 @@ In the
|
||||||
.Sy <network>
|
.Sy <network>
|
||||||
window,
|
window,
|
||||||
show or set user modes.
|
show or set user modes.
|
||||||
.It Ic /op Ar nick ...
|
.It Ic /op Op Ar nick ...
|
||||||
Grant users channel operator status.
|
Grant users or yourself channel operator status.
|
||||||
.It Ic /unban Ar mask ...
|
.It Ic /unban Ar mask ...
|
||||||
Unban masks from the channel.
|
Unban masks from the channel.
|
||||||
.It Ic /unexcept Ar mask ...
|
.It Ic /unexcept Ar mask ...
|
||||||
Remove masks from the channel ban exception list.
|
Remove masks from the channel ban exception list.
|
||||||
.It Ic /uninvex Ar mask ...
|
.It Ic /uninvex Ar mask ...
|
||||||
Remove masks from the channel invite list.
|
Remove masks from the channel invite list.
|
||||||
.It Ic /voice Ar nick ...
|
.It Ic /voice Op Ar nick ...
|
||||||
Grant users voice in the channel.
|
Grant users or yourself voice in the channel.
|
||||||
.El
|
.El
|
||||||
.
|
.
|
||||||
.Sh KEY BINDINGS
|
.Sh KEY BINDINGS
|
||||||
|
|
|
@ -219,13 +219,15 @@ static void commandDeop(uint id, char *params) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void commandVoice(uint id, char *params) {
|
static void commandVoice(uint id, char *params) {
|
||||||
if (!params) return;
|
if (params) {
|
||||||
channelListMode(id, '+', 'v', params);
|
channelListMode(id, '+', 'v', params);
|
||||||
|
} else {
|
||||||
|
ircFormat("PRIVMSG ChanServ :VOICE %s\r\n", idNames[id]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void commandDevoice(uint id, char *params) {
|
static void commandDevoice(uint id, char *params) {
|
||||||
if (!params) return;
|
channelListMode(id, '-', 'v', (params ?: self.nick));
|
||||||
channelListMode(id, '-', 'v', params);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void commandBan(uint id, char *params) {
|
static void commandBan(uint id, char *params) {
|
||||||
|
|
Loading…
Reference in New Issue