about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLucentW <LucentW@users.noreply.github.com>2015-04-29 20:25:18 +0200
committerLucentW <LucentW@users.noreply.github.com>2015-04-29 20:25:18 +0200
commit6fc53558ed2117e5dd4e6bd1e9fb595bba67aa79 (patch)
tree9787fa42e806b4b3e634e41523430a7794624f68 /src
parent21767c968d5799ce153f860db6c119eb4b7f9518 (diff)
downloadngircd-6fc53558ed2117e5dd4e6bd1e9fb595bba67aa79.tar.gz
ngircd-6fc53558ed2117e5dd4e6bd1e9fb595bba67aa79.zip
Fixed indents and documentation
(also updated the copyright date on the txt I edited)
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-info.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c
index e261b7f6..7bb453df 100644
--- a/src/ngircd/irc-info.c
+++ b/src/ngircd/irc-info.c
@@ -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)) {