degesch: save the topic from RPL_TOPIC
This commit is contained in:
		@@ -4787,6 +4787,12 @@ irc_handle_rpl_topic (struct server *s, const struct irc_message *msg)
 | 
			
		||||
	hard_assert ((channel && buffer) ||
 | 
			
		||||
		(channel && !buffer) || (!channel && !buffer));
 | 
			
		||||
 | 
			
		||||
	if (channel)
 | 
			
		||||
	{
 | 
			
		||||
		free (channel->topic);
 | 
			
		||||
		channel->topic = xstrdup (topic);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (buffer)
 | 
			
		||||
	{
 | 
			
		||||
		// FIXME: logging
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user