int extra_space = 0;
int i;
char *m;
+ int showsecret = 0;
+
+ if(ConfigFileEntry.secret_channels_in_whois && IsOperSpy(source_p))
+ showsecret = 1;
if(target_p->user == NULL)
{
visible = ShowChannel(source_p, chptr);
- if(visible || operspy)
+ if(visible || operspy || showsecret)
{
if((cur_len + strlen(chptr->chname) + 3) > (BUFSIZE - 5))
{
}
tlen = rb_sprintf(t, "%s%s%s ",
- visible ? "" : "!",
+ visible ? "" : "*",
find_channel_status(msptr, 1),
chptr->chname);
t += tlen;