Commit Diff
Diff:
a60465be3ec6e6960a981c5e2c21846839359653
d070ec08ab92cb60f6d0cb7375cebfc747c1ec0f
Commit:
d070ec08ab92cb60f6d0cb7375cebfc747c1ec0f
Tree:
2d1bd00503f9aefefaf84d7ce5b1b17ca73dd21d
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Tue Sep 23 09:47:17 2008 UTC
Message:
numeric.c: whitespace fixes ...
blob - d22bf3ae348c3b2ebeccf63dc3fbad1e5f3d56a0
blob + fc7bef822749b527e1569e53c7aa3ba0a128f9d2
--- src/ngircd/numeric.c
+++ src/ngircd/numeric.c
@@ -89,7 +89,6 @@ Announce_User(CLIENT * Client, CLIENT * User)
Client_Hostname(User),
Client_ID(Client_Introducer(User)),
Client_Info(User));
-
} else {
/* RFC 2813 mode: one combined NICK command */
return IRC_WriteStrClient(Client, "NICK %s %d %s %s %d +%s :%s",
@@ -158,20 +157,20 @@ Send_CHANINFO(CLIENT * Client, CHANNEL * Chan)
{
char *modes, *topic;
bool has_k, has_l;
-
+
#ifdef DEBUG
Log(LOG_DEBUG, "Sending CHANINFO commands ...");
#endif
-
+
modes = Channel_Modes(Chan);
topic = Channel_Topic(Chan);
-
+
if (!*modes && !*topic)
return CONNECTED;
-
+
has_k = strchr(modes, 'k') != NULL;
has_l = strchr(modes, 'l') != NULL;
-
+
/* send CHANINFO */
if (!has_k && !has_l) {
if (!*topic) {
IRCNow