mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
/DEVOICE * should devoice operators having voices too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1840 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d92ad715b4
commit
b7e41fe358
@ -638,7 +638,7 @@ static void cmd_devoice(const char *data, IRC_SERVER_REC *server,
|
||||
if (!IS_IRC_CHANNEL(channel))
|
||||
return;
|
||||
|
||||
nicks = get_nicks(channel, data, 0, 1);
|
||||
nicks = get_nicks(channel, data, -1, 1);
|
||||
if (nicks != NULL && *nicks != '\0')
|
||||
channel_set_singlemode(channel, nicks, "-v");
|
||||
g_free_not_null(nicks);
|
||||
|
Loading…
Reference in New Issue
Block a user