1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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:
Timo Sirainen 2001-10-15 12:53:20 +00:00 committed by cras
parent d92ad715b4
commit b7e41fe358

View File

@ -638,7 +638,7 @@ static void cmd_devoice(const char *data, IRC_SERVER_REC *server,
if (!IS_IRC_CHANNEL(channel)) if (!IS_IRC_CHANNEL(channel))
return; return;
nicks = get_nicks(channel, data, 0, 1); nicks = get_nicks(channel, data, -1, 1);
if (nicks != NULL && *nicks != '\0') if (nicks != NULL && *nicks != '\0')
channel_set_singlemode(channel, nicks, "-v"); channel_set_singlemode(channel, nicks, "-v");
g_free_not_null(nicks); g_free_not_null(nicks);