1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-07-22 02:42:50 +00:00

numeric.c: whitespace fixes ...

This commit is contained in:
Alexander Barton 2008-08-14 23:43:07 +02:00
parent a60465be3e
commit d070ec08ab

View File

@ -89,7 +89,6 @@ Announce_User(CLIENT * Client, CLIENT * User)
Client_Hostname(User), Client_Hostname(User),
Client_ID(Client_Introducer(User)), Client_ID(Client_Introducer(User)),
Client_Info(User)); Client_Info(User));
} else { } else {
/* RFC 2813 mode: one combined NICK command */ /* RFC 2813 mode: one combined NICK command */
return IRC_WriteStrClient(Client, "NICK %s %d %s %s %d +%s :%s", 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; char *modes, *topic;
bool has_k, has_l; bool has_k, has_l;
#ifdef DEBUG #ifdef DEBUG
Log(LOG_DEBUG, "Sending CHANINFO commands ..."); Log(LOG_DEBUG, "Sending CHANINFO commands ...");
#endif #endif
modes = Channel_Modes(Chan); modes = Channel_Modes(Chan);
topic = Channel_Topic(Chan); topic = Channel_Topic(Chan);
if (!*modes && !*topic) if (!*modes && !*topic)
return CONNECTED; return CONNECTED;
has_k = strchr(modes, 'k') != NULL; has_k = strchr(modes, 'k') != NULL;
has_l = strchr(modes, 'l') != NULL; has_l = strchr(modes, 'l') != NULL;
/* send CHANINFO */ /* send CHANINFO */
if (!has_k && !has_l) { if (!has_k && !has_l) {
if (!*topic) { if (!*topic) {