numeric.c: whitespace fixes ...

This commit is contained in:
Alexander Barton 2008-08-14 23:43:07 +02:00
parent a60465be3e
commit d070ec08ab
1 changed files with 5 additions and 6 deletions

View File

@ -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) {