Use CS command for paramless /op and /voice

Should match the actual /cs command.
weechat-hashes
C. McEnroe 2021-07-06 12:35:54 -04:00
parent 91f00dee0d
commit ddb331d8dc
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ static void commandOp(uint id, char *params) {
if (params) { if (params) {
channelListMode(id, '+', 'o', params); channelListMode(id, '+', 'o', params);
} else { } else {
ircFormat("PRIVMSG ChanServ :OP %s\r\n", idNames[id]); ircFormat("CS OP %s\r\n", idNames[id]);
} }
} }
@ -276,7 +276,7 @@ static void commandVoice(uint id, char *params) {
if (params) { if (params) {
channelListMode(id, '+', 'v', params); channelListMode(id, '+', 'v', params);
} else { } else {
ircFormat("PRIVMSG ChanServ :VOICE %s\r\n", idNames[id]); ircFormat("CS VOICE %s\r\n", idNames[id]);
} }
} }