1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-11-16 21:47:10 +00:00

Fixed indents and documentation

(also updated the copyright date on the txt I edited)
This commit is contained in:
LucentW
2015-04-29 20:25:18 +02:00
parent 21767c968d
commit 6fc53558ed
2 changed files with 4 additions and 4 deletions

View File

@@ -327,12 +327,12 @@ IRC_WHOIS_SendReply(CLIENT *Client, CLIENT *from, CLIENT *c)
/* Secret channel? */
if (Channel_HasMode(chan, 's')
&& !Channel_IsMemberOf(chan, Client))
&& !Channel_IsMemberOf(chan, Client))
continue;
/* Local channel and request is not from a user? */
if (Client_Type(Client) == CLIENT_SERVER
&& Channel_IsLocal(chan))
&& Channel_IsLocal(chan))
continue;
/* Concatenate channel names */
@@ -340,7 +340,6 @@ 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)) {