X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-info.c;h=1bbaf57b3b53a35e905be647c5f075690ade38ac;hp=7bb453df67cc853addca41e34861201cba2b7982;hb=b8482fd3cfdb429aec75575958f4d5d4e9ae22df;hpb=6fc53558ed2117e5dd4e6bd1e9fb595bba67aa79 diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 7bb453df..1bbaf57b 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -340,6 +340,7 @@ IRC_WHOIS_SendReply(CLIENT *Client, CLIENT *from, CLIENT *c) strlcat(str, " ", sizeof(str)); who_flags_qualifier(Client, Channel_UserModes(chan, c), + str, sizeof(str)); strlcat(str, Channel_Name(chan), sizeof(str)); if (strlen(str) > (COMMAND_LEN - CHANNEL_NAME_LEN - 4)) { @@ -406,7 +407,7 @@ IRC_WHOIS_SendReply(CLIENT *Client, CLIENT *from, CLIENT *c) /* Local client and requester is the user itself or an IRC Op? */ if (Client_Conn(c) > NONE && - (from == c || (!Conf_MorePrivacy && Client_HasMode(from, 'o')))) { + (from == c || Client_HasMode(from, 'o'))) { /* Client hostname */ if (!IRC_WriteStrClient(from, RPL_WHOISHOST_MSG, Client_ID(from), Client_ID(c),