Commits

B.Greenham  committed 37246d4

Make channel::admin_on_channel_create only work if admin is enabled.

  • Participants
  • Parent commits 3da2876

Comments (0)

Files changed (1)

File src/channel.c

 				continue;
 			}
 
-			if(ConfigChannel.admin_on_channel_create)
+			if(ConfigChannel.admin_on_channel_create && ConfigChannel.use_admin)
 				flags = CHFL_ADMIN | CHFL_CHANOP;
 			else
 				flags = CHFL_CHANOP;