Commits

Anonymous committed bfbb048

Move RPL_WHOISLOGGEDIN to sendto_one_numeric().

Comments (0)

Files changed (2)

modules/m_services.c

 		if(*p == '\0')
 			p = data->target->user->suser;
 
-		sendto_one(data->client, form_str(RPL_WHOISLOGGEDIN),
-				get_id(&me, data->client),
-				get_id(data->client, data->client),
+		sendto_one_numeric(data->client, RPL_WHOISLOGGEDIN,
+				form_str(RPL_WHOISLOGGEDIN),
 				data->target->name, p);
 	}
 }
 /* 327 */       NULL,
 /* 328 RPL_CHANNELURL */	NULL,
 /* 329 RPL_CREATIONTIME, */	":%s 329 %s %s %lu", 
-/* 330 RPL_WHOISLOGGEDIN */	":%s 330 %s %s %s :is logged in as",
+/* 330 RPL_WHOISLOGGEDIN */	"%s %s :is logged in as",
 /* 331 RPL_NOTOPIC, */          ":%s 331 %s %s :No topic is set.",
 /* 332 RPL_TOPIC, */            ":%s 332 %s %s :%s",
 /* 333 RPL_TOPICWHOTIME, */     ":%s 333 %s %s %s %lu",