commit - a60465be3ec6e6960a981c5e2c21846839359653
commit + d070ec08ab92cb60f6d0cb7375cebfc747c1ec0f
blob - d22bf3ae348c3b2ebeccf63dc3fbad1e5f3d56a0
blob + fc7bef822749b527e1569e53c7aa3ba0a128f9d2
--- src/ngircd/numeric.c
+++ src/ngircd/numeric.c
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",
{
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) {