degesch: remove extraneous function argument
This commit is contained in:
		@@ -1319,8 +1319,7 @@ irc_make_channel (struct app_context *ctx, char *name)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
irc_unlink_user_from_channel
 | 
					irc_unlink_user_from_channel (struct user *user, struct channel *channel)
 | 
				
			||||||
	(struct app_context *ctx, struct user *user, struct channel *channel)
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	// The order is important here as the channel can hold the last reference
 | 
						// The order is important here as the channel can hold the last reference
 | 
				
			||||||
	LIST_FOR_EACH (struct user_channel, iter, user->channels)
 | 
						LIST_FOR_EACH (struct user_channel, iter, user->channels)
 | 
				
			||||||
@@ -1952,7 +1951,7 @@ irc_handle_kick (struct app_context *ctx, const struct irc_message *msg)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// It would be is weird for this to be false
 | 
						// It would be is weird for this to be false
 | 
				
			||||||
	if (user && channel)
 | 
						if (user && channel)
 | 
				
			||||||
		irc_unlink_user_from_channel (ctx, user, channel);
 | 
							irc_unlink_user_from_channel (user, channel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (buffer)
 | 
						if (buffer)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
@@ -2073,7 +2072,7 @@ irc_handle_part (struct app_context *ctx, const struct irc_message *msg)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// It would be is weird for this to be false
 | 
						// It would be is weird for this to be false
 | 
				
			||||||
	if (user && channel)
 | 
						if (user && channel)
 | 
				
			||||||
		irc_unlink_user_from_channel (ctx, user, channel);
 | 
							irc_unlink_user_from_channel (user, channel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (buffer)
 | 
						if (buffer)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user